RecordGrid not sortable for a custom action

A place for users and developers of the Xataface to discuss and receive support.

Postby shannah » Tue Jul 15, 2008 9:18 am

This is a bit tricky because the built-in CSV action in Xataface is designed to work within the context of the current found set. Since you are doing your own custom result set here (not influenced by the Xataface request variables) you won't be able to use the default export CSV action.

However you can create your own custom action. Check out the actions/export_csv.php action for tips on how you might do it.

Then you can add your own button to your custom action.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Jean » Tue Jul 15, 2008 11:23 pm

Thank you Steve, it works very well with the export_csv.php file untouched.
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Previous

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 32 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved