supermarketsilikon.blogg.se

Javascript print selection
Javascript print selection












To get the selected nodes / rows from the grid, use the following API methods:ĬheckboxSelection: boolean | CheckboxSelectionCallback When you query for the selected rows, there are two method types: ones that return nodes, and ones that return data items. This is explained in the section Client-Side Row Model. When you pass data to the grid, it wraps each data item in a node object. Use, for example, when you want checkbox selection, and don't want to also select the row when the row is clicked.

  • suppressRowClickSelection: If true, rows won't be selected when clicked.
  • By default the grid allows deselection of rows. once a row is selected, it remains selected until another row is selected in its place).
  • suppressRowDeselection: Set to true to prevent rows from being deselected if you hold down Ctrl and click the row (i.e.
  • This is useful for touch devices where Ctrl and Shift clicking is not an option. Clicking a selected row in this mode will deselect the row. For example, if you click to select one row and then click to select another row, the first row will stay selected as well.
  • rowMultiSelectWithClick: Set to true to allow multiple rows to be selected with clicks.
  • 'multiple' allows multiple rows to be selected. 'single' will use single row selection, such that when you select a row, any previously selected row gets unselected.

    javascript print selection

    rowSelection: Type of row selection, set to either 'single' or 'multiple' to enable selection.Remember Row Selection works with all frameworks as well as plain JavaScript.Ĭonfigure row selection with the following properties: While clicking a second row will select the range.

    javascript print selection

    Selecting a row will remove any previous selection unless you














    Javascript print selection