Transfer input field value and row id to mvc controller
Transfer input field value and row id to mvc controller
astoffregen
Posts: 1Questions: 0Answers: 0
Hi,
I'am new in using datatables and have a question about transfering row data to asp.net mvc controller. Each row contains an id column, an input field with unique id and an actionlink (or submit button ?) for calling the controller action. I would like to create a small shopping cart application and the datagrid should display an article number, a quantity field and a button / actionlink to add one article to the cart. The input field is added by using the fnRender attribute in aoColumns block:
"fnRender": function (oObj) {
return ''
}
Thanks in advanced
Arne
I'am new in using datatables and have a question about transfering row data to asp.net mvc controller. Each row contains an id column, an input field with unique id and an actionlink (or submit button ?) for calling the controller action. I would like to create a small shopping cart application and the datagrid should display an article number, a quantity field and a button / actionlink to add one article to the cart. The input field is added by using the fnRender attribute in aoColumns block:
"fnRender": function (oObj) {
return ''
}
Thanks in advanced
Arne
This discussion has been closed.