i have a Kendo Grid whit "x" number of columns, but the user can hide the columns and i need know what columns are visible to export data only for these columns, i access to the columns in JS whit
var columns = $("#grid").data("kedoGrid");
but it returns all columns not only the visibles. tankz
You can just get the list of columns by using this:
The result will be an array of all column objects which has a property name
hidden: true
for hidden columns by users. In my case it is like following. So simply you will be able to get the visible column list into an array using following code.Hidden Column
Visible Column
Hope this will help.