B4J Question [ABMaterial] ABMTable SetHeaders

ToolboxZX

Member
Licensed User
Longtime User
Two questions with regards to ABMtables SetHeaders:

1) It is my understanding that if you wish to specify a table with two column of data you would use a set headers statement as follows:
tbl1.SetHeaders(Array as String("data1","data2"))

Is there any way to "merge" or span the columns? Meaning, if at times you just wanted one long row of data, (say the contents of data1) to span the entire length of the table is this possible?

2) SetHeaders also sets the literal column headings for the table. Is there a way to set an "overall" table title above that line for the ABMtable object?
 

Mashiane

Expert
Licensed User
Longtime User
Whilst still new in this framework, as of yet, I have not seen 'merging' within the table object. You can however in relation to item 2, add a row above the table, change its row theme and use that with a label to set the header.

Perhaps use page.Cell(2,1).AddComponent(lblTitle) and page.Cell(2.1).AddComponent(tblComponent)

#mytwocents untested
 
Upvote 0
Top