mah25 / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

cell disalbing editing cras if use aoColumns #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.if I have defined 'aoColumns' but use read_only class in cells - disable edit 
does not work.

What is the expected output? What do you see instead?
usage of aoColumns does not crash disabling cell editing.

What version of the product are you using? On what operating system?
1.3

Please provide any additional information below.
this works: row 222
cells = $("td:nth-child(" + (i + 1) + "):not(." + properties.sReadOnlyCellClass 
+ ")", aoNodes); // PN bugfix

Original issue reported on code.google.com by petan.no...@gmail.com on 29 Jul 2011 at 1:26

GoogleCodeExporter commented 9 years ago
This is fixed in the latest verson of the plugin.

Thanks,
Jovan

Original comment by joc...@gmail.com on 14 Sep 2011 at 9:49

GoogleCodeExporter commented 9 years ago
It actually isn't fixed. I'm using server-side processing and when I add a 
class (read_only) to a row through the use of DT_RowClass, the 
datatables-editable still won't recognize that row as being Read-Only...

Original comment by mali...@gmail.com on 16 Apr 2012 at 8:21

GoogleCodeExporter commented 9 years ago
Actually, the latest version of the plugin is 1.3 on the downloads page but 
when looking at the source of the examples page, it uses version 1.3.1 (with 
some very noticeable changes. I think you forgot to add the new version to the 
downloads page...

Original comment by mali...@gmail.com on 16 Apr 2012 at 8:59