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

Update kendo grid format based off another field?

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rex
Top achievements
Rank 1
Rex asked on 19 May 2014, 01:34 PM
Is it possible to change the format and the input of one grid field column based off another grid field column.  For example, If I had one column field that contains percent, date, string, or number and the other field contains the data (always stored as a string), it is possible to change the display output and editable options of the data based on the other field.  Any examples of this would be greatly appreciated.   Note that the only editable field is the data field but each row could have a different format based off the other field.

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 21 May 2014, 12:11 PM
Hi Rex,

Basically this behavior would require custom solution which includes custom editor and custom templates for the second column, however for your convenience I created small example which you can use as a baseline:

Regards,
Vladimir Iliev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Rex
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or