![]() Allan? Thanks //On enter, submit changed rows to server. To create the inline numbering sequence, copy the code and the surrounding parentheses. I should mention, data is being successfully submitted to the server, its the inline focus that needs to be set afterwords that is now working. Here is the code, I feel like I'm close to achieving what I need. I attempted to blur both the local and ajax editor along with disabling keys before calling localEditor.inline (nextRowId, 'columnName') without success. "Uncaught Cannot edit more than one row inline at a time" Step 2: In 'submitComplete' of the ajaćditor and table on draw I attempt to set the inline editor to next row id but an exception is thrown. Step 1: In 'postEdit' of the localEditor I successfully obtain next row id. I moved on to tackle this from a different angle. Implementing editor.ids() returns editor.ids is not a function I've not actually tested the above yet, so its possible I've done something daft, but that's the general Thanks for the sample code. Its a few hoops to jump through because of the async nature of server-side processing and also the fact that row nodes are destroyed and created as needed. KFF Headquarters: 185 Berry St., Suite 2000, San Francisco, CA 94107 Phone 65 Washington Offices and Barbara Jordan Conference Center: 1330 G Street, NW, Washington, DC 20005 Phone. Var editRowIdx = rowsCurrentOrder.indexOf( editor.ids() ) Datatables and Editor global variables In a nutshell, while in inline editing mode, pressing enter should trigger a function that will send edited rows to the server for saving and jump to next line in table, focus and activate inline editing of the first cell. ![]() ![]() I would like to post a test case but I have no idea how to link server-side scripts to the live site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |