Hi I am binding the grid to a list of arbitrary objects. For isntance, the object might be Person
class Person
{
bool: Selected {get; set;}
string FirstName {get; set;}
string LastName {get; set;}
...
}
I have auto column generation enabled so I'm not using any templates.
I want all columns to be read-only except for the first which will be used to determine whether a row is selected or no (I have multiselect enabled).
Do you have any suggestions on how to accomplish this? Perhaps set the binding mode to TwoWay and then loop through the columns making them readonly perhaps?
-- x
class Person
{
bool: Selected {get; set;}
string FirstName {get; set;}
string LastName {get; set;}
...
}
I have auto column generation enabled so I'm not using any templates.
I want all columns to be read-only except for the first which will be used to determine whether a row is selected or no (I have multiselect enabled).
Do you have any suggestions on how to accomplish this? Perhaps set the binding mode to TwoWay and then loop through the columns making them readonly perhaps?
-- x