Hi I am retrieving data from an external database which I want to show in a flexgrid, I can retrieve the data OK but when I put it in a flexgrid using the following code
I call a loadlayout page which has 1 flexgrid and 1 button the flexgrid has 2 columns
column 1 is not visible
column 2 is set at 100%x
then I fill the flexgrid with follwing code
and when viewed it only shows up on the left side of the flexgrid which is only 50% wide and not the full width as it does on the B4A version
Any ideas?
I call a loadlayout page which has 1 flexgrid and 1 button the flexgrid has 2 columns
column 1 is not visible
column 2 is set at 100%x
Header cells:
FlexGrid1.ColsName = Array As String("ID", "Company Names")
FlexGrid1.HeaderFont = xui.CreateDefaultBoldFont(16)
FlexGrid1.ColsWidth = Array As Int(0, 100%x)
FlexGrid1.ColsType = Array As Int(FlexGrid1.TypeInt, FlexGrid1.TypeButton)
FlexGrid1.ColsAlignment = Array As String("CENTER", "CENTER")
then I fill the flexgrid with follwing code
Flexgrid View:
For Each colroot As Map In R
FlexGrid1.AddRow2(Array As Object(colroot.Get("ID"), colroot.Get("CompanyName")), 80dip, True)
Next
and when viewed it only shows up on the left side of the flexgrid which is only 50% wide and not the full width as it does on the B4A version
Any ideas?