Reputation: 4135
I have requirement in AdvancedDataGrid.
In Advanced Data Datagrid with columns checkbox,textfield, textarea,button,radiobutton. and ADD Button and SUBMIT Button. When i click on ADD Button, those above all fields are need to add dynamically in next row.If i click 10 times on ADD Button, 10 rows with all above fileds need to be added.
If Have any sample code please forward to my gmail id:[email protected].
Upvotes: 0
Views: 185
Reputation: 3119
You should work with the underlying data provider for the adding of new rows. whenever the add button is pressed do
adg.dataProvider.addItem( newItemFromAboveRow );
and the ADG will sort out the display for you.
Upvotes: 1
Reputation: 5480
Create custom item/row renderers. More Using Item Renderers and Item Editors
Upvotes: 0