Hello,
As I explained in this post, I would like to set max-width on certain columns of a grid to force them to not becoming bigger than a certain size if there is a remaining width in the parent container. However, I do need to distribute the remaining width across other columns if they don't have max-width.
For example in this project https://stackblitz.com/edit/max-width-request?embed=1&file=app/app.component.ts, I want the first column which shows the ID of products would never be bigger than 15. I'm advised to leave one of the columns without setting width, so that column will occupy the remaining width and as a result the width of columns with width will be respected as max-width. However, that is not good because in big screens you will end up with a very big column while other columns are still suffering from lack of space.
Thanks,
Mojtaba
We need to be able to overrride "compare" method in kendo-data-query sort-array.operator. We are using your processData for client side sorting but need to change the "compare" method since we have decimal values already formatted in our objects. Since they are formatted they are technically strings and sorted as such. Currently we had to rip out your processData and call our custom version with a compare method like so: const compare = (a, b) => { if (isBlank(a)) { return a === b ? 0 : -1; } if (isBlank(b)) { return 1; } let a1 = a; if (isNumber(a)) { a1 = toNumber(a); } else if (isDate(a)) { a1 = ensureDate(a); } let b1 = b; if (isNumber(b)) { b1 = toNumber(b); } else if (isDate(b)) { b1 = ensureDate(b); } if (a1.localeCompare) { return a1.localeCompare(b1); } return a1 > b1 ? 1 : (a1 < b1 ? -1 : 0); };
Hello
I have a grid cell with filter set to menu. So the popup appears with the list of default operators that are needed to be included in the popup.
Something like below:
<ng-template
kendoGridFilterMenuTemplate
...
>
<kendo-grid-numeric-filter-menu
...
>
<kendo-filter-eq-operator> </kendo-filter-eq-operator>
<kendo-filter-neq-operator> </kendo-filter-neq-operator>
<kendo-filter-gte-operator> </kendo-filter-gte-operator>
<kendo-filter-lte-operator> </kendo-filter-lte-operator>
<kendo-filter-isnull-operator> </kendo-filter-isnull-operator>
<kendo-filter-isnotnull-operator> </kendo-filter-isnotnull-operator>
</kendo-grid-numeric-filter-menu>
</ng-template>
What i am trying to achieve is to add another operator like 'In' that can accept comma separated values. Something like:
<kendo-filter-in-operator> </kendo-filter-in-operator>
I have looked at the doc (https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row/#toc-custom-filter-row-components/)
But i dont see a custom filter operator example.
Could you please let me know if its possible to do that or is there anyway i can achieve this.
Thanks
SM
When filter popup is opened, it need to be closed by click outside of it
However, popup is closed only after second click outside.
After popup was opened and closed for the first time - next times everything works correctly, so it can be reproduced only after refreshing the page with this component
It can be reproduced in example in your documentation: https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu/#toc-custom-filters/
Current behavior
The grid component already has the functionality to resize and reorder columns by the user, but is missing functionality for saving an restoring columns configuration, so that changes done by the user are lost after a page change.
There is the Persist the State article in the "How to section" in the documentation, but the described solution is only applicable when adding grid columns by using *ngFor. When defining columns in the markup, due to extensive usage of templates (kendoGridColumnMenuTemplate, kendoGridFilterMenuTemplate, kendoGridCellTemplate, ..), there is no reasonable solution available.
Expected behavior
Provide methods, similar to the jQuery grid, to save and restore columns configuration. This should at least include the column's order, width and sort.
PS: This is not a duplicate of the feature request Add persistent state for grid (and other components). The latter one has been marked as "Completed" but does not include the needed functionality.
We need to overwrite kendo-grid-column-chooser component reset button logic. We need reset button to select all columns that were selected during the initial load of grid.instead of current reset logic. Is there a way to overwrite reset button logic?
I tried <kendo-grid-column-chooser (reset)="resetColumnMenu($event)"></kendo-grid-column-chooser> but it didn't work.
Given: a kendo grid with resize enabled.
And: the input locked on kendo-grid-colum is undefined (by ex. due the component class property not initialized)
When: the user double click on the column resize handler
Actual: the column width is set to 0
Expected: the colum autofit behaviour remain consistent and set the column width as usual.
As there are browser-specific limitations to the maximum reliable height/width an HTML element can have (https://stackoverflow.com/questions/34931732/height-limitations-for-browser-vertical-scroll-bar), the virtual scrolling functionality of the Grid is affected (different issues appear depending on the browser).
It would be a nice enhancement to provide a way the virtual scrolling to work regardless of the total number of items in a given use case.
A possible solution is to keep track of a virtual window from 1 to 1,000,000 if the number of source records is greater than 1 million. On a scroll event, the scroll position can then be adjusted to reflect the position within the actual data set. For example, if the scroll position is 300,000 (within the max of 1,000,000) and the source data contains 50,000,000 records, the actual record index to start displaying data is 300000 / 1000000 * 50000000 = 15000000.
Workaround:
hello i`m always using kendo grid in my project but i can`t import excel to kendo grid please make it possible to import excel file and select specific sheet to kendo grid
Please provide a built - in rows reordering functionality that isn't based on the public HTML drag and drop api. Also please allow to customize the content of the drag hint. Something similar to the drag and drop feature of the TreeView.
thank you
Add wildcard filtering in the Kendo UI Grid.
I have a groupable kendo grid. I'm utilizing the kendoGridGroupHeaderColumnTemplate directive.
I see that <kendo-grid-column> takes headerClass and headerStyle, but neither applies styles to the grouped header.
Please provide a groupedHeaderClass and groupHeaderStyle properties so that I can style the cell rendered by kendoGridGroupHeaderColumnTemplate.
Thanks,
-Adam
Add icons for grid filter operators to easily understand current operator (DevExpress example):
https://gyazo.com/3806906633b2c1ca66f6cacc2b32ba88
Can we get an option to set default all collapsed when using the directive?
It seems to be not compatible with the provided methods.
Using the `kendoGridGroupBinding` directive in combination with the `kendoGridExpandGroupBy` directive or the `isGroupExpanded` callback is not supported. To use grouping with the `kendoGridGroupBinding` directive, set the Grid `groupable` property to `true`