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

How can I insert values only to specific colums?

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stavros
Top achievements
Rank 1
Stavros asked on 08 Dec 2008, 01:41 PM
Is this possible to insert values only to specific empty colums in a table although the use can see using the select command the filled columns too?
For example a user sees column1 and column 2 of the table but when he presses insert he fills only values in column 3(in the same row).
Thank you very much.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Dec 2008, 06:47 AM
Hi Stavros,

I am not sure about your requirement. From what I understood you are trying to display column1 and column2 in normal mode of the Grid and hide them in edit mode but show column3 when the Grid is in edit mode. You can achieve this by setting the ReadOnly property of the column1 and column2 to true (so that it wont appear in edit form) and set the Visible property of column3 to false(it will be hidden in normal mode).

Shinu
Tags
Grid
Asked by
Stavros
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or