Previous / next editing buttons problem
Previous / next editing buttons problem
Hello,
I applied Previous / next editing buttons example and it is worked perfect, but there is a problem which is when I remove "New " button and click Next button in the Edit form, it show delete message instead of showing next row of the table.
Thanks
This discussion has been closed.
Replies
Odd. Are you able to link to your page, so we can take a look? Or if not possible, could you update this test case to demonstrate the issue : http://live.datatables.net/wegowafu/1/edit
Colin
Hi colin,
Thanks for your reply.
I updated the code in the live example you gave and here the link
http://live.datatables.net/wegowafu/193/edit?html,css,js,console,output
Check the example as follow:
Click "Edit" then click next ">" you will see that the edit box will change to delete.
Ah it's because removing the
create
button shifts the indexes of the buttons - so in the directional buttons you need to adjust the index for the edit button (from 1 to 0 as theedit
is now the first button). See update example here: http://live.datatables.net/wegowafu/194/editColin
Thanks alot colin
Worked