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

How to get the datatype of a kendo grid column using javascript?

1 Answer 776 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pushkar
Top achievements
Rank 1
Pushkar asked on 04 Nov 2013, 06:57 PM
How do i get the datatype of a column in kendo Grid on the client side in javascript/Jquery? For eg i want to know whether the column is of type text or numeric or date. I checked inside $('#kendoGrid').data('kendoGrid').columns, but it does not show any detail about the column data type.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ignacio
Top achievements
Rank 1
answered on 04 Nov 2013, 09:12 PM
Hi Pushkar,

This should be possible.
Here is a small demo
http://jsfiddle.net/4DVF5/
Tags
Grid
Asked by
Pushkar
Top achievements
Rank 1
Answers by
Ignacio
Top achievements
Rank 1
Share this question
or