- 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()
