New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Advanced Selections Features #8
Comments
Two new methods have been added to select one or more rows on the grid setSelectedRow(BBjNumber x!)
setSelectedRows(BBjVector x!) Obveiously Example grid! = new BBjGridExWidget(wnd!,100,0,35,900,563)
grid!.setSelectionMode(grid!.GRID_SELECT_ROW())
grid!.setMultipleSelection(1)
/** selects row 5**/
grid!.setSelectedRow(5)
/** selectes multi rows [2,4,5] */
v! = new BBjVector()
v!.addItem(2)
v!.addItem(4)
v!.addItem(6)
grid!.setSelectedRows(v!) |
@StephanWald Added two new methods to improve selection: MethodssetGroupSelectsChildren When true, selecting a group will have the impact of selecting all its children seShowSelectionCheckbox When true, selection box will be shown in the first column Examplegrid! = new BBjGridExWidget(wnd!,100,0,35,900,563)
grid!.setEnableFilter(1)
grid!.setMultipleSelection(1)
grid!.setSelectionMode(grid!.GRID_SELECT_ROW())
grid!.setGroupSelectsChildren(1)
grid!.seShowSelectionCheckbox(1) |
@StephanWald MethodsselectAll deselectAll Examplegrid! = new BBjGridExWidget(wnd!,100,0,35,900,563)
grid!.selectAll()
/** do some filtering from the grid */
grid!.deselectAll(1) |
Added the ability to collapse and expand groups Methods
Examplegrid! = new BBjGridExWidget(wnd!,100,0,35,900,563)
grid!.exapndAll()
grid!.collapseAll() |
Added two new method to set visible row/column Methods
Examplegrid! = new BBjGridExWidget(wnd!,100,0,35,900,563)
grid!.setVisibleColumn("CUSTOMERID")
grid!.setVisibleRow(50 , grid!.GRID_ROWPOS_MIDDLE()) |
closing this very broad one; everything that is still missing should become a separate issue then. |
No description provided.
The text was updated successfully, but these errors were encountered: