New record with image in row
New record with image in row
I am following this tutorial(http://code.google.com/p/jquery-datatables-editable/wiki/AddingNewRecords) to add new record/row to my table
Rows look like this
[code]
@item.FirstName
@item.SecondName
@item.Surname
[/code]
When I add new row an error pops up
[quote]DataTables warning (table id = 'DataTable'): Requested unknown parameter '0' from the data source for row 195 [/quote]
When I remove image's column everything works like a charm. How to add image with new row? Form
[code]
FirstName
SecondName
Surname
[/code]
Row adds when there is no image.When I remove image column and change the order in form, from 1,2,3 to 0,1,2 new row is added.In my opinion dataTales does not know that image should go to row 0
Debug info
http://debug.datatables.net/ejodux
Rows look like this
[code]
@item.FirstName
@item.SecondName
@item.Surname
[/code]
When I add new row an error pops up
[quote]DataTables warning (table id = 'DataTable'): Requested unknown parameter '0' from the data source for row 195 [/quote]
When I remove image's column everything works like a charm. How to add image with new row? Form
[code]
FirstName
SecondName
Surname
[/code]
Row adds when there is no image.When I remove image column and change the order in form, from 1,2,3 to 0,1,2 new row is added.In my opinion dataTales does not know that image should go to row 0
Debug info
http://debug.datatables.net/ejodux
This discussion has been closed.