Can't select the row
Can't select the row
hellohello
Posts: 3Questions: 1Answers: 0
When I follow the inline editing instructions to build a datatable, it occurs to me that nothing happens when I click on the select box in the first column so that I can't edit or delete row. Did I miss something?
This discussion has been closed.
Answers
Yes, you did, you forgot to include details in your post.
The following is my code.My question is that when I click the select box in the first column, the row can't be selected and I can't click the edit or delete button.
$(document).ready(function() {
var editor_basic = new $.fn.dataTable.Editor({
ajax: "/webmaster/wordbag/treeForm",
table: "#wordbag_basic_table",
fields: [{
label: "wordbag",
name: "wordbag"
}
]
});
});
Could you link to a test case showing the issue please? The code looks like it should work okay - I don't immediately see anything wrong with it.
Are you using the latest versions of DataTables, Select, Editor and Buttons?
Allan
I know what's wrong with it. I used the older version 1.10.7 of datatable, after I changed it to version 1.10.10, it worked. Thanks.
Good to hear it works with the latest version.
Allan