BBjGrid::getScrollbarTriggerTopBottomEvent
Description
In BBj 20.10 and higher, this method returns value of the boolean flag indicating whether the BBjGridHitTopEvent and BBjGridHitBottomEvent events will trigger from the scrollbar.
Syntax
Return Value | Method |
---|---|
boolean | getScrollbarTriggerTopBottomEvent() |
Parameters
None.
Return Value
Returns a boolean indicating whether the scrollbar will trigger the BBjGridHitTopEvent and BBjGridHitBottomEvent events.
Remarks
The default value is true, which indicates that the events will trigger when the scrollbar hits the bottom or top of the grid. A value of false indicates that the events will not trigger from the scrollbar.
The events will still trigger when using page up/down or the up/down arrows when trying to move beyond the grid’s scope of rows. This value only refers to the scrollbar’s ability to trigger the events.
This behavior can be set by BBjGrid::setScrollbarTriggerTopBottomEvent, or globally in the bbj.properties file by adding the line: com.basis.bbj.grid.disableScrollbarEvent=x, where x is equal to “true” or “false”.
Example
|
Version History
See Also
Methods of BBjGrid – Grid Scrolling
BBjGrid::setScrollbarTriggerTopBottomEvent
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.