onBackground: 'blur', // Always true for inline editing
preBlur should work great, but as an alternate approach, I was just curious if you can overwrite the onBackground and tell it not to blur in the firsts place?
One last comment about inline editing (sorry to be so hard on it)...
If I click on an inline-edit, and then immediately click out of it, Editor still does a full update sending data to the php, and re-retrieving the whole row. This seems wasteful... The javascript side of it should save the old value when beginning the inline-edit, and when the edit is over compare. If the inline-edit did not return a new value, then it should not need to speak to the PHP at all.
Currently no, as the documentation notes, it is not possible to alter oBackground for inline editing. To be honest, I'm not entirely sure why I did that - it might be a legacy aspect of inline editing that is time for a review, which I've made a note to do.
Editor still does a full update sending data to the php, and re-retrieving the whole row. This seems wasteful...
1.5.0 will submit only the edited field, but currently still expects the full row to be returned. I'm going to review that for 1.5.1.
I know this is a fairly old thread now, but the left join alias aspect has been on my list of things to look at. Editor 1.5.1 actually supports this already using the following set:
Answers
I just noticed on this page:
http://editor.datatables.net/reference/option/formOptions.inline
You list the options one of which is:
preBlur should work great, but as an alternate approach, I was just curious if you can overwrite the onBackground and tell it not to blur in the firsts place?
One last comment about inline editing (sorry to be so hard on it)...
If I click on an inline-edit, and then immediately click out of it, Editor still does a full update sending data to the php, and re-retrieving the whole row. This seems wasteful... The javascript side of it should save the old value when beginning the inline-edit, and when the edit is over compare. If the inline-edit did not return a new value, then it should not need to speak to the PHP at all.
Currently no, as the documentation notes, it is not possible to alter
oBackground
for inline editing. To be honest, I'm not entirely sure why I did that - it might be a legacy aspect of inline editing that is time for a review, which I've made a note to do.1.5.0 will submit only the edited field, but currently still expects the full row to be returned. I'm going to review that for 1.5.1.
Allan
I know this is a fairly old thread now, but the left join alias aspect has been on my list of things to look at. Editor 1.5.1 actually supports this already using the following set:
I've just documented this and it will be pushed out to the site with the 1.5.2 update.
Regards,
Allan