Hi,

I agree with Matt the data grid component should use various source adapters.

A good thing too could be to split the data grid in several loosely couple components.

Zend_Data_Sorter
Zend_Data_Filter (Zend_Data_Filter_Abstract, Zend_Data_Filter_Number, Zend_Data_Filter_String, Zend_Data_Filter_boolean, Zend_Data_Filter_Date …)
Zend_Paginator

The rendering part should be done as in Zend_Form : a __toString() method is making use of view helpers.


Regards,

Laurent

Aristide ZOUNGRANA a écrit :

Hi,

The data grid component will use the paginator component. According to the type of datasource, the good paginator adapter will be instanciate before the rending.

Datasource package will allow few operations such : sort, count, reset… according to the type of data

Datasource should extend the paginator adapter ; it’s not ok now, we will be set soon !

Regards

Aristide R. ZOUNGRANA

*De :* Matthew Ratzloff [mailto:[EMAIL PROTECTED]
*Envoyé :* lundi 22 septembre 2008 16:07
*À :* Nino Martincevic
*Cc :* Zend Framework - General
*Objet :* Re: [fw-general] Zend Grid Proposal??

I imagine that a data grid component should work similarly to Zend_Paginator--that is, various data source adapters.

-Matt

On Sun, Sep 21, 2008 at 5:09 AM, Nino Martincevic <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

Why you all bind the grid to data from a database only?
Bind it to...well...data.


Kamil schrieb:

    Jurriën Stutterheim pisze:

    Still, for those of us who don't (always) want to use a JS
    implementation, a Zend_Grid component would be awesome. =)


    I found proposal for this
    http://framework.zend.com/wiki/display/ZFPROP/Zend_DataGrid



Reply via email to