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

Automatic 'Add record' link

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 23 Jun 2010, 02:11 PM
Hi,
Something I can't seem to find on the grid is something like the 'AutoGenerateAddColumn', I am using the grid's popup form to edit and I would have thought that the grid would be able to pop up it's own 'add' form aswell. Am I missing something or is it in fact necessary to manually code all aspects of the 'add' functionality, including the link for adding records? 

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 23 Jun 2010, 02:17 PM
Hello,

In order to show the command item, you should set CommandItemDisplay property of GridTableView. It can take four values: None, Top, Bottom, TopAndBottom corresponding to the place where it will appear.

Check out the demo Automatic Operations

Thanks,
Princy.
Tags
Grid
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Princy
Top achievements
Rank 2
Share this question
or