AshishJoshi-asj / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Suggestion: Format for export #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It might be nice to be able to format the Export elements. 

They are all grouped together now, and it does look impressive, but to save
some space, we might display them in a dropdown list, for example.

So, if in grid template there would be a call similar to pagination(), like

  function export(array $exportElements) {...}

and each element consist of icon, text, href.

It might than be a part of ->render() function.

Original issue reported on code.google.com by vlatko.b...@gmail.com on 2 Mar 2010 at 12:14

GoogleCodeExporter commented 9 years ago
Hi,

Done.

You can now call in your view $this->grid->render('export');

Please note that you need to remove the export from the template.

Where a new function has been added to build th export.

check Bvb_Grid_Template_Table_Table

Best Regards,
Bento Vilas Boas

Original comment by pao.fre...@gmail.com on 2 Mar 2010 at 1:10

GoogleCodeExporter commented 9 years ago
Hi,

Checked. Works.

Original comment by vlatko.b...@gmail.com on 2 Mar 2010 at 1:33

GoogleCodeExporter commented 9 years ago

Original comment by pao.fre...@gmail.com on 2 Mar 2010 at 2:28

GoogleCodeExporter commented 9 years ago

Original comment by bento.vi...@gmail.com on 3 Mar 2010 at 4:56