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:
- Code: Select all
usage_mode=edit
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:
- Code: Select all
noLinkFromListView=1
Best regards
Steve