PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Adding columns to Table control dynamically
Adding columns to Table control dynamically
Iniciado por R R, 11,mar. 2015 15:24 - 2 respuestas
Miembro registrado
2 mensajes
Publicado el 11,marzo 2015 - 15:24
Hi,
I am trying to load the contents of a csv file to a Table Control but the problem is that I cannot be sure in advance how many columns will be in the text file.

Is there anyway I can add (or remove) columnns to a Table Control at run time in WebDev?
It has occured to me that I can create a sufficiently large Tale Control in advance and control the visibility of the individual columns as data is loaded but I am hoping that someone on this forum can offer a more elegant solution.

Thanks in advance,
R.
Miembro registrado
5 mensajes
Publicado el 20,octubre 2015 - 12:07
I was able to do that control of the columns (creation, visibility) with Windev but I was no able to do it with Webdev because some of the functions working in Windev were not available in Webdev. Besides I was not able to control the behaviour of the Table Browser Control in WebDev and I finally had to use an Ajax Table.
I miss some functions to work easily with columns in a Table control.
Publicado el 30,octubre 2015 - 15:04