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

[Solved] Find bound value of the model for custom command

0 Answers 4 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Trytele
Top achievements
Rank 1
Trytele asked on 17 May 2013, 10:46 PM
Hi guys,
My grid has a custom command that i want to hide/disable based the model used by the grid (thru @(Html.Telerik().Grid(myModel)). By setting new { style="display: none"} of command's htmlattribute property, I can hide all commands of entire column. The problem is, the custom command doesn't work with columns.bound(). How can I access the current value of myModel.showhideCommand to show/hide the command of a row?

Any help welcomed!
-t
Tags
Grid
Asked by
Trytele
Top achievements
Rank 1
Share this question
or