B4J Question Tableview - Fix column 0

tdocs2

Well-Known Member
Licensed User
Longtime User
Greetings.

Thank you in advance for your replies.

In a Tableview, how can I set column 0 so that it always shows?

Best regards.

Sandy
 

tdocs2

Well-Known Member
Licensed User
Longtime User
It is not possible to "fix" a column.

Thank you, Erel.

Has anyone built a workaround? For example, like the Class SpreadsheetView? Please note features below.

(http://controlsfx.bitbucket.org/org/controlsfx/control/spreadsheet/SpreadsheetView.html)

B4X:
Features
•Cells can span in row and in column.
•Rows can be fixed to the top of theSpreadsheetViewso that they are always visible on screen.
•Columns can be fixed to the left of the SpreadsheetViewso that they are always visible on screen.
•A row header can be switched on in order to display the row number.
•Rows can be resized just like columns with click & drag.
•Both row and column header can be visible or invisible.
•Selection of several cells can be made with a click and drag.
•A copy/paste context menu is accessible with a right-click. The usual shortcuts are also working.
•Pickercan be placed above column header or to the side of the row header.

Thank you in advance for any replies...

Sandy
 
Upvote 0

BPak

Active Member
Licensed User
Longtime User
Thank you, Erel.

Has anyI need to show and setting other volume invisible. See attached example. Hope ne built a workaround? For example, like the Class SpreadsheetView? Please note features below.

(http://controlsfx.bitbucket.org/org/controlsfx/control/spreadsheet/SpreadsheetView.html)

B4X:
Features
•Cells can span in row and in column.
•Rows can be fixed to the top of theSpreadsheetViewso that they are always visible on screen.
•Columns can be fixed to the left of the SpreadsheetViewso that they are always visible on screen.
•A row header can be switched on in order to display the row number.
•Rows can be resized just like columns with click & drag.
•Both row and column header can be visible or invisible.
•Selection of several cells can be made with a click and drag.
•A copy/paste context menu is accessible with a right-click. The usual shortcuts are also working.
•Pickercan be placed above column header or to the side of the row header.

Thank you in advance for any replies...

Sandy
I use a method to keep left column in place by making columns visible i set columns visible I want to show and other columns invisible. See example.
 

Attachments

  • stv.zip
    3 KB · Views: 267
Last edited:
Upvote 0
Top