This is a migrated thread and some comments may be shown as answers.

Conditional Formatting

2 Answers 107 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Murilo
Top achievements
Rank 1
Murilo asked on 28 Apr 2015, 04:55 PM
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.

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 30 Apr 2015, 01:19 PM
Hello Murilo,

Thank you for getting in touch with us and for sharing your solution.

If you would like to see a conditional formatting as a build-in functionality in Kendo UI Grid, please submit a feature request at Kendo UI Feedback portal.

In case you want to share your solution with the community I can convert this thread to a public forum post. In this way all users will be able to find it. Please let me know if you want this topic to become public.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Murilo
Top achievements
Rank 1
answered on 30 Apr 2015, 01:40 PM
Hello Alexander,

Yes, turn it public please.

Thank you,
Murilo
Tags
Grid
Asked by
Murilo
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Murilo
Top achievements
Rank 1
Share this question
or