• Skip to primary navigation
  • Skip to main content
pythonGrid

pythonGrid

Datagrid for Python Web Frameworks

  • Home
  • Docs
  • Demo
  • Download
  • Contact

integrated search

enable_export()

pythongridstg · May 21, 2020 ·

  • Parameter(s):
    • type: The only export type is CSV at the moment.
  • Description:
    • The export icon appears on the left side of the footer when enabled.

Example:

grid.enable_export()

The export requires PythonGridDbExport class that must be initiated inside export() function in route or controller.

@app.route('/export', methods=['GET', 'POST'])
def export(): 
    exp = PythonGridDbExport('SELECT * FROM orders') 
    return exp.export()

enable_search()

pythongridstg · April 28, 2020 ·

  • Parameter(s):
    • can_search: boolean. When set to true, the search icon displays in the footer, and the integrated search is toggled when the icon is clicked.
  • Description:
    • The integrated search provides an intuitive interface for searching data within the datagrid. The user can search one or multiple fields. No additional programming is required. The datagrid is automatically refreshed and repopulated with results returned from the db.
  • Remark:
    • The integrated search is toggle off by default. Click on the Search button in the footer to toggle on the integrated search.

Exmaple:

grid.enable_search(True)

pythonGrid

pythonGrid is a free and open-source datagrid library made for Python web framework

Copyright © 2025 · pythonGrid | privacy policy

  • Demo
  • Documentation
  • Download
  • T&C
  • EULA
  • Contact Us