Edit cell value in popup window

Edit cell value in popup window

antekszpiegantekszpieg Posts: 3Questions: 0Answers: 0
edited August 2013 in General
Hi,

I'm using MVC 4 and I want to implement actions buttons with this: http://jquery-datatables-editable.googlecode.com/svn-history/r187/trunk/table-actions.html

In user-side mode everything works perfekt.
But when I'm changing mode to server-side and insert button code into cell (with "aoColumnDefs" function) nothing works.

Mayby I should add button in other way?

This is my code, can you help me guys?

[code]
$(document).ready(function () {
$('#example').dataTable(
{
"bServerSide": true,
"sAjaxSource": "Work/AjaxHandler",
"bProcessing": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [{
"aTargets": [0],
"mData": 0,
"mRender": function (data, type, full) {
return 'Hasło';
}
}]


}).makeEditable({
aoColumns: [null, null, null, null],
aoTableActions: [
{
sAction: "EditPlatforms"
}
]
});
[/code]

[code]



ID
Company name
Address
Town





[/code]

Replies

  • antekszpiegantekszpieg Posts: 3Questions: 0Answers: 0
    Anyone help?;)
  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    Sorry - that's a third party plug-in and not supported in this forum. I'm afraid I don't know off the top of my head why it isn't working.

    Allan
  • antekszpiegantekszpieg Posts: 3Questions: 0Answers: 0
    Thank you, I will ask in github.
This discussion has been closed.