Skip to content

remcoboerma/plugin_SQLFORM_INLINE

 
 

Repository files navigation

SQLFORM_INLINE

This is a web2py plugin leveraging the framework's ajax options to provide inline row editing functionality to the SQLFORM.grid method. It aims to provide the same features provided by web2py's SQLFORM.grid in addition to inline row editing. Because the inline edit feature loads a SQLFORM into the selected row, the plugin will work properly only if the grid includes fields from a single table.

Installation

Download the .w2p file and install it as a plugin via the web2py interface.

Update

Use the installation procedure above and overwrite the plugin content in your web2py app.

Usage

(1) Install the plugin. (2) Create a separate controller for each inline grid. (3) Load the inline grid controller into your page using the web2py LOAD helper.

Development Status

Although this plugin is intended to provide the same functionality offered by SQLFORM.grid, it is not yet fully tested and is currently in its initial stage of development. The CSS styling, in particular, is still a little buggy outside of Chrome.

If any of the options are not working properly, please feel free to let me know or, better yet, offer a proposed solution. I welcome any help or feedback to make this plugin as useful to the community as possible.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • CSS 1.2%