Skip to content

Commit

Permalink
fixed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Wald committed Jan 11, 2018
1 parent 2bf327a commit a3cd164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BBjGridExWidget.bbj
Expand Up @@ -177,7 +177,7 @@ class public BBjGridExWidget extends BBjWidget
: 'allowContextMenuWithControlKey': false,"

if (#EnableFilter)
opt$=opt$+"'enableFilter': false,'floatingFilter': true,"
opt$=opt$+"'enableFilter': true,'floatingFilter': false,"
fi

if (#SelectionMode = BBjGrid.GRID_SELECT_ROW) then
Expand Down
2 changes: 2 additions & 0 deletions Demo/Demo.bbj
Expand Up @@ -23,6 +23,8 @@ btn_fit! = wnd!.addToolButton(205,765,5,25,25,"[/]")

grid! = new BBjGridExWidget(wnd!,100,0,35,900,563)

grid!.setEnableFilter(1)

lb_db! .setCallback(BBjAPI.ON_LIST_SELECT,"loadTables")
btn_query! .setCallback(BBjAPI.ON_BUTTON_PUSH,"doQuery")
lb_theme! .setCallback(BBjAPI.ON_LIST_SELECT,"setTheme")
Expand Down

0 comments on commit a3cd164

Please sign in to comment.