Apr 14, 2009, 2:42 PM
Adding one record in a grid
Hi everybody,
how can i insert a value in a column, which will be readonly or hidden when i insert a new record.
My goal is the following:
My grid have an associated store which is bound to the class B. This store is rendered in a form which have a store bounded to class A.
New items added to the grid, will be mandatory that the field fkClassA must be equal to the primary of the form data.
How can i prevent the user from changing this data???
Thanks,
Nuno Santos
how can i insert a value in a column, which will be readonly or hidden when i insert a new record.
My goal is the following:
public class S
{
int pkInt;
string someData;
DateTime moreData;
...
}
public class B
{
Guid pk;
string myData;
int fkClassA;
}
My grid have an associated store which is bound to the class B. This store is rendered in a form which have a store bounded to class A.
New items added to the grid, will be mandatory that the field fkClassA must be equal to the primary of the form data.
How can i prevent the user from changing this data???
Thanks,
Nuno Santos