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

deleting from a grid

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mww
Top achievements
Rank 1
mww asked on 17 Dec 2010, 04:01 PM
How can I set a grid up so that there is just a delete option for each row ?
I dont need insert or edit as that done on a separate screen.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Dec 2010, 07:57 AM
Hello,

I guess, you set the AutoGenerateEditColumn proeprty of grid to True and thats why you are getting Edit link. Ifyou do not want the "Edit" link just set the property to "False".
In order to hide the "Add New Record" button, set the   MasterTableView  -> CommandItemSettings  ->  ShowAddNewRecordButton property to false.

Also check whether you added GridEditCommandColumn in column collection, if so remove that.


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