📚 SAP Business One SDK Help

Grid Object Members
See Also  Overview 

Public Methods

Public Method AutoResizeColumnsStretches columns to the full size of the matrix by resizing them.
Public Method GetCellFocusReturns the position of the cell currently in focus.
Public Method GetDataTableRowIndexReturns the corresponding data table row for a specified grid row.
Public Method SetCellFocusSets a cell to the one currently in focus.

Public Properties

Public Property CollapseLevelThe number of columns grouped together, starting from the left-most column.

For example, if you specify 2 for this property, all rows are grouped by the values in the first column, and all rows within each group are grouped by the values in the second column.

Public Property ColumnsThe grid's columns.
Public Property CommonSettingThe common settings for cells or rows in a grid or matrix.
Public Property DataTableThe DataTable bound to the grid.
Public Property ItemThe item properties of the grid. You can get the item that specifics the grid, and set the item properties if necessary.
Public Property RowHeadersThe grid's header column.
Public Property RowsThe grid's rows. This GridRows object manages actions on the rows of the grid, such as, collapse and expand.
Public Property SelectionModeIndicates how rows can be selected.

Events

Public Event ChooseFromListAfterThe event occurs after the user makes a selection in the ChooseFromList form or chooses Cancel.
Public Event ChooseFromListBeforeThe event occurs before the ChooseFromList form is displayed.
Public Event ClickAfterClickAfter
Public Event ClickBeforeClickBefore
Public Event CollapsePressedAfterThe event occurs after the collapse button is pressed.
Public Event CollapsePressedBeforeThe event occurs before the collapse button is pressed.
Public Event ComboSelectAfterThe event occurs after a value was selected in a combo box.
Public Event ComboSelectBeforeThe event occurs before a value was selected in a combo box.
Public Event DatasourceLoadAfterThe event occurs after data was loaded from the GUI into a matrix data source.
Public Event DatasourceLoadBeforeThe event occurs before data was loaded from the GUI into a matrix data source.
Public Event DoubleClickAfterThe event occurs after the main mouse button was double clicked.
Public Event DoubleClickBeforeThe event occurs before the main mouse button was double clicked.
Public Event GotFocusAfterGotFocusAfter
Public Event GridSortAfterThe event occurs after a grid column was sorted.
Public Event GridSortBeforeThe event occurs before a grid column was sorted.
Public Event KeyDownAfterThe event occurs after the key was pressed.
Public Event KeyDownBeforeThe event occurs before the key was pressed.
Public Event LinkPressedAfterThe event occurs after a link arrow was pressed.
Public Event LinkPressedBeforeThe event occurs before a link arrow was pressed.
Public Event LostFocusAfterLostFocusAfter
Public Event MatrixLoadAfterThe event occurs after data was loaded from the database into a matrix data source.
Public Event MatrixLoadBeforeThe event occurs before data was loaded from the database into a matrix data source.
Public Event PickerClickedBeforeThe event occurs before the Picker form is displayed.
Public Event PressedAfterThe event occurs after the item was pressed, that is, a mouse is released within an item.
Public Event PressedBeforeThe event occurs before the item was pressed.
Public Event ValidateAfterAn item lost focus and validation is required. The event occurs after the validation.
Public Event ValidateBeforeAn item lost focus and validation is required. The event occurs after the validation.

See Also