[WB24] Checkbox in a Table Control February 10, 2020 12:15AM |
Registered: 5 years ago Posts: 92 |
Quote
Check Box in a Table control
WINDEVWEBDEV - Server codeWindows MobileJava "Check Box" column in a Table control
To allow the check box to be checked (or not) when clicking the "Check Box" column:
The Table control must be in edit.
The "Check Box" column must be in edit mode.
All other columns of Table control must be read-only.
Using a Check Box column in a table:
The following behavior can occur when using a Check Box column in a browsing Table control:
The check boxes of visible rows are checked.
The checkmarks are lost whenever the scrollbar moves.
This behavior indicates that the check box is not linked to a file item.
To manage a check box in a Table control, you must:
create a suitable item (whose type is check box for example) in your data file. In this case, this item can be managed in a browsing Table control.
create a memory Table control.
Check box and databinding
The databinding is available for the Check Box controls under the following conditions:
if the check box has a single option, it must be linked to a simple variable.
if the check box has several options, it must be linked to an array.
If this condition is not respected, a GUI error will be generated.
Re: [WB24] Checkbox in a Table Control February 10, 2020 01:12PM |
Registered: 5 years ago Posts: 141 |
Re: [WB24] Checkbox in a Table Control February 10, 2020 02:57PM |
Registered: 5 years ago Posts: 92 |
Re: [WB24] Checkbox in a Table Control February 11, 2020 09:32AM |
Registered: 5 years ago Posts: 92 |