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

[Solved] Making a Column a Required Field

1 Answer 254 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Maslin
Top achievements
Rank 1
Peter Maslin asked on 11 Sep 2009, 10:33 AM
hi

i have a standard grid with a series of columns in it i.e GridDropDownColumn, GridBoundColumn etc.

i want to know if there is a way of making the column a required field and validate it as such.

i am creating the columns programatically.

i know you can do it with a template column , but i dont want to have to create template columns for all the fields that require validation , there must be a simpler way to make a column a required field.

just to clarify this is for the insert/edit modes of the grid i need to validate the fields for.

thanks for your input on this.

Peter.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Sep 2009, 11:37 AM
Hello Peter,

Check out the following help document which explains on how to add validators to bound columns in your grid:
Validation
Probably this should help you achieve the required.

Regards
-Shinu.
Tags
Grid
Asked by
Peter Maslin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or