views:

384

answers:

2

Hello,

I am using jquery datagrid plugin to display my results in table. I have also used a jquery inlineEdit plugin. Both work finely. Until after pagination(say page 2) the inline plugin doesn't work. what would be the problem?

thanks v.srinath

A: 

i dont know much about either of the plugins but my guess it that when pagination occurs the table rows are removed and new ones are put in their place. These new rows dont have the events assigned that are needed for the inline edit plugin.

to fix this you may have to have a onPagination callback that adds the inlineEdit events back to the rows.

John Boker
A: 

Or you can just use the jQuery live event - this will take care for the future rows added to the DOM automaticaly.

Daniel Alexandrov