Hi,
I'm using Delphi 10.2.3 (Tokyo), IW 15.0.17 and the last version of TMS controls.
In an application, I have in a form a table (TTIWDBAdvWebGrid) to show data obtained from a Query. Depending on the type of data to show, I need that my table have 4 or 5 columns. To do that, each time I have to show data I drop all columns and create new ones. To drop columns I use 2 different methods (for from ColCount-1 downto 0 do List.Columns.Delete; and List.Columns.Clear), and the results are the same. The incorrect behaviour sequence is:
- Build the table with 4 columns --> OK
- Delete columns and Build the table with 5 columns --> OK
- Delete columns and Build the table with 4 columns --> NO OK. Shows 5 columns, and the contents of 5th column, comes from another table I have in same form.
Am I doing anything wrong? Could you tell me how to do to fix this problem?
Best regards,
Venancio Lasquibar