rbghongade Well-Known Member Licensed User Longtime User Feb 11, 2019 #1 Dear friends, @Erel , great library! I have two questions: 1)How to print B4X table, i.e. contents? 2)How to select columns? regards,
Dear friends, @Erel , great library! I have two questions: 1)How to print B4X table, i.e. contents? 2)How to select columns? regards,
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2019 #2 1) B4XTable is made of a regular ScrollPane. You should be able to print it with: https://www.b4x.com/android/forum/threads/b4j-print-javafx8.49836/#content B4XTable.mBase is the node you want to print. 2) Do you want to select all cells in the column when the user clicks on a cell in that column? Upvote 0
1) B4XTable is made of a regular ScrollPane. You should be able to print it with: https://www.b4x.com/android/forum/threads/b4j-print-javafx8.49836/#content B4XTable.mBase is the node you want to print. 2) Do you want to select all cells in the column when the user clicks on a cell in that column?
rbghongade Well-Known Member Licensed User Longtime User Feb 11, 2019 #3 Thanks Erel, Yes I want to select the entire column i.e; all cells in that column. Better only if the column header is clicked for selection. Multiple column selection is also required. Upvote 0
Thanks Erel, Yes I want to select the entire column i.e; all cells in that column. Better only if the column header is clicked for selection. Multiple column selection is also required.
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2019 #4 Example is attached. Depends on B4XCollections and B4XTable v1.05+ Database source: http://www.sqlitetutorial.net/sqlite-sample-database/ Attachments B4XTable-MulticolumnSelection.zip B4XTable-MulticolumnSelection.zip 329.9 KB · Views: 975 Upvote 0
Example is attached. Depends on B4XCollections and B4XTable v1.05+ Database source: http://www.sqlitetutorial.net/sqlite-sample-database/
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2019 #5 One thing missing in the above example is that I didn't set the Selection Color in the designer to a transparent color (#00FFFFFF). This is required to prevent cell clicking from modifying the column selection color. Upvote 0
One thing missing in the above example is that I didn't set the Selection Color in the designer to a transparent color (#00FFFFFF). This is required to prevent cell clicking from modifying the column selection color.