jotajota52
Member
I'm trying to setup a Flexgrid like this:
The only thing that works is the headers, the type and width error out.
And also, it seems to loose the last column. Headers has length of 5 (0 to 4)
this is warning comes out: WARNING Refresh: java.lang.IndexOutOfBoundsException: Index 4 out of bounds for length 4
Appreciate any help on this.
George.
Flexgrid_setup:
Dim headers(cols.Length) As String
Dim htipos (cols.Length) As Int
Dim hwidth (cols.Length) As Int
For i =0 To cols.Length-1
headers(i) = "Col" & (i+1)
htipos(i)=FlexGrid1.TypeString
hwidth(i)=80dip
Next
FlexGrid1.ClearRows
FlexGrid1.ColsType=htipos
FlexGrid1.ColsWidth=hwidth
FlexGrid1.ColsName=headers
And also, it seems to loose the last column. Headers has length of 5 (0 to 4)
this is warning comes out: WARNING Refresh: java.lang.IndexOutOfBoundsException: Index 4 out of bounds for length 4
Appreciate any help on this.
George.