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

Set commands.edit visible on record data

0 Answers 56 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.
Lyle
Top achievements
Rank 1
Lyle asked on 18 Dec 2010, 08:30 PM
columns.Command(commands => {
    commands.Edit().ButtonType(ButtonType);
    commands.Delete().ButtonType(ButtonType);
}).Width(90).Visible(???);

Hi!

I can't seem to find a way to reference the value in a column in the grid, in my case it is the StatusId.  Based on the cell value in this row, for the StatusId, I need to return a true or false to the method ".Visible()".  It would be nice to find the answer in the documentation but I haven't been able to.  I find it hard to believe that I would be the first person who ever needed this functionality.

I would be most appreciative of any assitance.
Lyle
Tags
Grid
Asked by
Lyle
Top achievements
Rank 1
Share this question
or