shirkasoft-ui-components 1.13.16 → 1.13.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -496,6 +496,7 @@ interface FilterChangeEvent {
496
496
  | `activeFilter` | `string` | `''` |
497
497
  | `customTemplates` | `{ [key: string]: any }` | `{}` |
498
498
  | `selectable` | `boolean` | `false` |
499
+ | `selectOnRowClick` | `boolean` | `false` |
499
500
  | `dataKey` | `string` | `'id'` |
500
501
  | `isRowSelectable` | `(row: any) => boolean` | `undefined` |
501
502
  | `bulkActions` | `BulkAction[]` | `[]` |
@@ -511,7 +512,7 @@ interface FilterChangeEvent {
511
512
  | `columnResize` | `{ field: string; width: number \| null }` |
512
513
  | `selectionChange` | `any[]` |
513
514
 
514
- **Row selection.** With `[selectable]="true"` a leading checkbox column is rendered. The header checkbox selects/deselects the rows of the current page (indeterminate when partially selected); selection persists across pages and is keyed by `dataKey`. While rows are selected, `bulkActions` appear in the header and receive the selected rows. In client mode, rows removed from `data` are dropped from the selection automatically (not while `loading` is true, nor while `data` is still empty before the first load); in server mode, reset it via `[(selection)]` or `clearSelection()`. The selection is independent of the global search and column filters: rows hidden by a filter stay selected and are passed to `bulkActions` too.
515
+ **Row selection.** With `[selectable]="true"` a leading checkbox column is rendered. The header checkbox selects/deselects the rows of the current page (indeterminate when partially selected); selection persists across pages and is keyed by `dataKey`. While rows are selected, `bulkActions` appear in the header and receive the selected rows. In client mode, rows removed from `data` are dropped from the selection automatically (not while `loading` is true, nor while `data` is still empty before the first load); in server mode, reset it via `[(selection)]` or `clearSelection()`. The selection is independent of the global search and column filters: rows hidden by a filter stay selected and are passed to `bulkActions` too. With `[selectOnRowClick]="true"` a click anywhere on the row toggles it (clicks on buttons, links and form controls inside the row are ignored).
515
516
 
516
517
  ```html
517
518
  <shk-table [data]="users()" [columns]="columns" [selectable]="true"