DataGrid[Permalink]Xataface DataGrid ModuleCreated by Steve Hannah, Web Lite Solutions Corp. SynopsisThe Xataface DataGrid module uses the Ext DataGrid component (http://extjs.com) to add an editable grid component to your Xataface application. Requirements
LicenseThis module is distributed with ExtJS 2.2, which is distributed under the GPL v 3 (http://extjs.com/products/license.php). In order to be compatible with the ExtJS license, this module is also distributed under the terms of the GPL v3 (http://www.gnu.org/copyleft/gpl.html). Demo Video
ScreenshotsClick on image to enlarge
Demo
Download
Installation
Setting Up PermissionsThis module defines the following permissions?:
In order for a user to access/use the grid he must be granted at least the Datagrid:view_grid and DataGrid:update permissions?. Both of these permissions? are included in the following system roles by default:
And of course these permissions? are included with the call to Dataface_PermissionsTool::ALL() . If you have assigned your own custom roles and want to enable access to the grid, you can simply add the following to your role definition in your permissions.ini file:
If you want to explicitly disable the grid for a role, you can extend the role and deny those same permissions?:
UsageOnce installed, log in as a user that has permission to access the grid. You should notice a new tab along with "details", "list", and "find", called "grid". Click on the "grid" tab to access the grid. You can double click on any field to edit it. Modified fields will be marked in red, and automatically saved every 5 seconds - after the changes are saved the field is no longer marked in red. LimitationsCurrently only fields with the following widget types are available to be edited in the grid:
Other types of fields will simply not be included in the grid. Support/QuestionsVisit the Xataface forum at http://xataface.com/forum blog comments powered by Disqus |