I may be chomping at the bit here, but I am very interested in trying out the inline editing feature mentioned in the manual. Unfortunately, I can't find documentation detailing how to make it work?
Thanks.
Steve
1.0 beta1: inline AJAX editing
4 posts
• Page 1 of 1
1.0 beta1: inline AJAX editingI may be chomping at the bit here, but I am very interested in trying out the inline editing feature mentioned in the manual. Unfortunately, I can't find documentation detailing how to make it work?
Thanks. Steve S. T. Stoddard
Xataface 1.0 adds some inline ajax editing features. If this is enabled, then any call to $record->htmlValue() will produce output that can be edited inline.
The view tab, for example, will then allow you to edit a value by just clicking on it. This can be enabled for the list tab also with some tweaks. To enable inline ajax editing, add the following to the beginning of your conf.ini file:
If you want a particular field to be editable in list view, you have to disable its link ability (normally when you click on a value it just takes you to the record's view tab). You can do this be adding the following directive to that field's entry in the fields.ini file:
Best regards Steve
Cool! Thanks.
A caveat? It doesn't work if one is browsing a list of related records. S. T. Stoddard
Ya.. integration of this feature is a little spotty at the moment. One key thing is that if you add your own calls to $record->htmlValue('..') the resulting content will be automatically editable using AJAX.
Currently the related lists are generated differently than standard result lists, which is why some things haven't been added to them yet. It would be a logical feature to add though.
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 15 guests |