T tvrman Member Licensed User Jun 16, 2007 #1 hi, Simple peace of script result still that the col width is the same? what went wrong? i cannot change the width whatever i tried. Table1.AddCol(cString,"Item",30,False) Table1.AddCol(cString,"Description",90,False)
hi, Simple peace of script result still that the col width is the same? what went wrong? i cannot change the width whatever i tried. Table1.AddCol(cString,"Item",30,False) Table1.AddCol(cString,"Description",90,False)
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2007 #2 Can you attach a screen shot of the result?
T tvrman Member Licensed User Jun 16, 2007 #3 Erel said: Can you attach a screen shot of the result? Click to expand... Yes Attachments table width.JPG 26.4 KB · Views: 219
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2007 #4 Please try to run the attached code. Attachments a.sbp 455 bytes · Views: 225
T tvrman Member Licensed User Jun 16, 2007 #5 Very strange Erel, The sample you provide works oke, I'll post the source that i used. Attachments V1.sbp 2.9 KB · Views: 205
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2007 #6 The XML file includes the columns declaration (type, size and unique). I recommend you to use CSV files instead as they are smaller, faster and apparently there is an issue with XML in complex tables.
The XML file includes the columns declaration (type, size and unique). I recommend you to use CSV files instead as they are smaller, faster and apparently there is an issue with XML in complex tables.
RandomCoder Well-Known Member Licensed User Longtime User Jun 16, 2007 #7 The problem is with the XML file that you are loading, it is setting the width of the columns. Regards, RandomCoder EDIT: Sorry, beat to the solution, Erel is far to quick for us mere mortals ;-)
The problem is with the XML file that you are loading, it is setting the width of the columns. Regards, RandomCoder EDIT: Sorry, beat to the solution, Erel is far to quick for us mere mortals ;-)
T tvrman Member Licensed User Jun 16, 2007 #8 Yes thanks guys, still strange because if there is no XML exists it should be saved an empty one with width data on it. (i supose the width is one of them) i will rewrite it to CSV files. Thanks
Yes thanks guys, still strange because if there is no XML exists it should be saved an empty one with width data on it. (i supose the width is one of them) i will rewrite it to CSV files. Thanks