Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Conditional Formatting

$
0
0
Hello,

I have created a feature for kendoGrid, the conditional formatting.
The user clicks in the column menu and has the option "Conditional Formatting", there he/she can create conditions and apply colors and icons to the cell or row.
I think it is a great funcionality that kendo can incorporate in the grid, but that is a choice for kendo team. Anyway the example is here: https://jsfiddle.net/magomes/ptwbh0ec/11/
There are two methods:

grid.openConditionalFormattingDialog(field); // open the dialog to create the conditions
grid.formatColumnsConditionally(); // in the databound format the conditions

The conditions are in kendoGrid.columns[0].conditionalFormatting object.

I really don´t work in the layout for the dialog, its using my css, but if the feature is good, and kendo team would interest for, just ask that I can work on it.

I hope this can be used for something.

Thank you very much,
Murilo.

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>