Currently the Grid Filter menu logic is "and" and there is no built-in option for changing it even when using the configurable filter menu components in the Filter menu template.
It would be nice having an option to configure the default logic as well as to limit the list of options to only "And"/"Or" or prevent the end user from changing the programmatically set filtering logic.
As a workaround for setting the initial logic, the developer can use the logicChange method, e.g.:
https://www.telerik.com/forums/default-filter-menu-logic#4935605
Could we have a turnkey solution which allows to disable a row selection which takes care of disabling only the relevant selection checkboxes and handle properly the "Select all" checkbox state (in header).
With CheckboxColumnComponent field which allows providing dataItem field name or predicate function.
<kendo-grid-checkbox-column showSelectAll="true" disableSelection="isDisabled">
</kendo-grid-checkbox-column>
<kendo-grid-checkbox-column showSelectAll="true" [disableSelection]="isDisabledPredicateFunction">
</kendo-grid-checkbox-column>
OR
If you don't want to add more selection concerns into CheckboxColumnComponent this field could be specified in your SelectableSettings as well:
public selectableSettngs: SelectableSettings = {
enabled: true,
checkboxOnly: false,
mode: 'multiple',
cell: false,
drag: false,
rowEnabled: mySelectableRowPredicateFunction
}
rowEnabled field could something like this:
export declare type RowEnabledSelectionFn = (context: RowArgs) => boolean | boolean;
export interface SelectableSettings {
//...
/**
* Determines if row selection is allowed.
*
* @default true
*/
rowEnabled?: RowEnabledSelectionFn;
}
Thank you
Hi
we have a lot of clients requesting two features for the KendoGrids:
1st) A second horizontal scrollbar on top of the grid, scrolling smoothly in parallel with the bottom one.
2nd) Sticky / fixed headers to be able to always see the header row. Somethine like this: https://www.telerik.com/kendo-angular-ui/components/grid/columns/sticky/ but for the top labels row.
Hi Kendo Angular team,
It will be a nice improvement if there is an option to set a specific type for the Grid data item and the templates. This will allow checking the types inside the templates when fullTemplateTypeCheck is on.
Currently the pager is always at the bottom of the grid. I would love to see an option to place the pager at the top and/or bottom. Without adding custom code every time I need this.
i am using Telerik Angular Editing Grid for list editing of data.one of our main requirements is to copy a cell value and multiselect cells to paste data. this requires Angular grid to provide out of the box multi cell selection mode so that upon action respective cell values get updated
Essentially the most basic GridComponent when ngIf'd in and out will not be collected -- apparently because of orientation change / resize change listeners not being appropriately removed.
Steps to Reproduce
Click the TOGGLE TABLE button to hide the table
Click the TOGGLE TABLE button to show the table
repeat several times
Take a memory snapshot
There will be HTMLTableRowElement items that grow each iteration of toggling the table.
The HTMLTableRowElements retention shows that they eventually lead to a resize listener, or an orientation change listener.
Since the client side filtering honours ignoreCase and the toOdatastring not, we got a difference in behaviour, so i'd like to report this as a BUG! With dropdowns I use: &$filter=contains(tolower(FieldName), tolower('" + searchString + "')) but for grid filtering a COLUMN BASED ignoreCase is a MUST!
The filter descriptors support accessor functions in the "field" option. It would be great to see this implemented in the sort, group, and aggregate options. const result = process(items, { filter: { logic: "and", filters: [{ field: x => x.getValue(), operator: "eq", value: 0 }], // <- supported }, group: [ field: x => x.getValue(), // <- not supported aggregates: [{ aggregate: "sum", field: x => x.getValue() }] // <- not supported ], sort: [{ field: x => x.getValue(), dir: "desc" }] // <- not supported });
We would like to have the possibilty to create custom implementation of grid columns (or any other control/component). Because we also have this in our WPF projects and it was very useful to minimize the redundant code and also the "initialization code". This can't be done in a simple template, for example we need to inject services and get data etc.. Example: In our WPF project have lots of different grids with values related to units. The cell can convert this unit to and other unit itself, it can localize the texts, it shows the information in some kind of "progress bar", has a tooltip, etc... And all we have to do in the code is to set a column like this <custom-column valueField="test" unitField="test2" />. It would be great to have this feature in the Angular 2 grid as well.
Support TYPE in DataResult (speciallly GridDataResult) In state you would like to do something like: export interface SomethingState { loading: boolean; success: boolean; data: GridDataResult<XYZ> } it would be State with data: XYZ[].
Support for showing and hiding rows in angular grid
Currently, the fieldname is used as "clue" when dragging a column header from the grid. However, this name is rarely appropriate (for instance, it could the name of the correpsonding property in the DTO between back-end/front-end, or it could be a normalized English name while the user is browsing in French, etc.). We would prefer to have either a configurable text, or else use the text currently specified as "title" for the column.
Currently the filterCellTemplate is ignored for commnand column. It would be a handy feature if one could specify also content of filter cell for command column so in case filtering is enabled we could for example provide some suctom additional functionaly/content in that column (for example i wanted to add there a button that would reset all filters)
The group panel on the grid should be configurable to be hidden
Implement "Shift + Arrow Keys adds the row which holds the focused cell to the selection (only for selection mode "multiple")", explained here (https://demos.telerik.com/kendo-ui/grid/keyboard-navigation)
Please make the grid selection cancelable.
Just like KendoUI supports offline datasource sync.
It way too complicated to clear the selection programmatically in the grid at the moment. Please add a clearSelection method on the grid instance.