theoreticsinc / jquery-datatables-editable

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

Tracking Selectable Rows and last-updated-cell on serverside processing #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Not a problem, but a question.

What is the expected output? What do you see instead?
1. I expected to see state saved selectable rows and last updated cell such as 
on: 
http://jquery-datatables-editable.googlecode.com/svn/trunk/inline-edit-extra.htm
l and 

What version of the product are you using? On what operating system?
1. 1.8.2 Datatables
2. 1.3 Editable Package

Please provide any additional information below.

I'm trying to figure out to replicated the state saved selectable rows and last 
updated cell. However I don't know how to create it, and also it is not present 
in the example packages!

Please advise.

Original issue reported on code.google.com by aiesec....@gmail.com on 1 Feb 2012 at 3:21

GoogleCodeExporter commented 8 years ago
Hi,

Unfortunately there is no way to do this in editable plugin. Plugin marks cell 
on the client side, but if you reload table content in server side processing 
mode, new cells will be generated on each reload. 
Only way to do this is to somehow add some flag (last-added) in the JSON that 
is returned from the server side and use some datatables formatting function to 
colorize cell/row depending on the flag in JSON response.

Jovan  

Original comment by joc...@gmail.com on 9 Feb 2012 at 8:44