dudapiotr / ZfTable

*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
http://dudapiotrek.laohost.net/
MIT License
75 stars 59 forks source link

4.0 V - New Features #64

Open dudapiotr opened 9 years ago

dudapiotr commented 9 years ago

Please write here all your proposition to include in v4. Next week I'd like to fix all problems from repository and add some new features. So If You have something in your mind please dont' hestitate.

olekhy commented 9 years ago

nice to have:

include => true or false in headers config, this one could be used to enable or disable showing of a column for example via REQUEST parameter. php```

'headers' => [ 'gender' => [ 'include' => true, //default shown 'title' => 'Name', 'filters' => 'text', ],


- table grids manager is a cool thing, that can create concrete table grid from configuration file
- one configuration file for one table grid that contains headers, config, decorators class names e.g.
- creation and rendering of table grid not from $_POST parameters only also from parameters from session e.g. 
- store named filters in database 

another ting is needs to define filters in headers configuration in order to use different zend form elements not only text or select. eg:
```php
 'headers' => [
        'gender' =>       [
            'title' => 'Gender',
            'filters' => [
                'options' => [
                    'value_options' => [
                        null     => 'All',
                        'MALE'   => 'Mr.',
                        'FEMALE' => 'Ms.',
                    ],
                ],
                'attributes' => [
                    'class' => 'multiselect-radio',
                ],
                'type' => 'select'
            ],
            'width' => 75
        ],
hlich commented 9 years ago

looking forward for 4.0... some nice things would be:

dudapiotrek commented 9 years ago

Resolve #67 problem

dudapiotr commented 9 years ago

I think it looks very nice

https://github.com/filamentgroup/tablesaw

dudapiotr commented 9 years ago

ping @olekhy ping @hlich

Could You more explain what do You mean?

greatcloud commented 9 years ago

Show/hide columns dinamically

greatcloud commented 9 years ago

ACL integration

cbichis commented 9 years ago

Better compatibility with Doctrine (see the last issues I posted).

Also, some totals: https://github.com/dudapiotr/ZfTable/issues/73 https://github.com/dudapiotr/ZfTable/issues/74