Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup edit window doesn't show #157

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 0 comments
Open

Popup edit window doesn't show #157

GoogleCodeExporter opened this issue Mar 22, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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-ac
tions.html
1. In user-side mode everything works perfekt.
2. When I'm changing mode to server-side and insert button code into cell (with 
"aoColumnDefs" function) nothing works.

Here is my script 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 '<button type="button" class="table-action-EditPlatforms">Hasło</button>';
                }
            }]


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

And table code:
<table id="example" class="display">
      <thead>
             <tr>
                 <th>ID</th>
                 <th>Company name</th>
                 <th>Address</th>
                 <th>Town</th>
             </tr>
      </thead>
      <tbody>                  
      </tbody>
</table>

Original issue reported on code.google.com by [email protected] on 21 Aug 2013 at 1:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant