Add new list/rows
Add new list/rows
Hi,
Im creating a table:
$(document).ready(function() {
$('#example').dataTable();
} );
Product | Status | Action
It works, but:
In the column 'Action' is a link Details
When I click on the link I need to add more rows of the product
How can I add more rows?
Thanks
Im creating a table:
$(document).ready(function() {
$('#example').dataTable();
} );
Product | Status | Action
It works, but:
In the column 'Action' is a link Details
When I click on the link I need to add more rows of the product
How can I add more rows?
Thanks
This discussion has been closed.
Replies
[code]
ketticGridView.AddNewRows();
ketticGridView.AddRows("New Row", 10.5, DateTime.Current, true);
GridViewDataRowInformation rowInformation = new GridViewDataRowInformation(this.ketticGridView.MasterView);
rowInformation.Cells[0].Value = "GridViewDataRowInformation";
rowInformation.Cells[1].Value = 10.5;
rowInformation.Cells[2].Value = DateTime.Now.AddDays(5);
rowInformation.Cells[3].Value = true;
ketticGridView.AddRows(rowInformation);
[/code]
http://www.kettic.com/winforms_ui/csharp_guide/gridview_row_insert.shtml
> How can I add more rows?
Use fnAddData to add additional rows to a DataTable.
Allan