Stange behavior of dojox.grid.DataGrid

View: New views
4 Messages — Rating Filter:   Alert me  

Stange behavior of dojox.grid.DataGrid

by Frébault Roger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I have the following problem. A datagrid shows data.
I apply a filter on the data, but the filtered data doesn't show correctly.
In place of the rows that have to be displayed I have a the same count
of empty rows at the end of the data.
If I "ClientSort" the grid then the data appears correclty filtered.

--
Roger

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Re: Stange behavior of dojox.grid.DataGrid

by Nathan Toone-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What store are you using?  The filter and sorting is handled by the store...not the grid.  The grid just passes that info on to the underlying store.

-Nathan

On Fri, Nov 6, 2009 at 2:23 AM, Frébault Roger <roger.frebault@...> wrote:
Hi all,

I have the following problem. A datagrid shows data.
I apply a filter on the data, but the filtered data doesn't show correctly.
In place of the rows that have to be displayed I have a the same count
of empty rows at the end of the data.
If I "ClientSort" the grid then the data appears correclty filtered.

--
Roger

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Re: Stange behavior of dojox.grid.DataGrid

by Frébault Roger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Nathan,

I am using then simple dojo.data.ItemFileReadStore.


Roger


Nathan Toone wrote:
What store are you using?  The filter and sorting is handled by the store...not the grid.  The grid just passes that info on to the underlying store.

-Nathan

On Fri, Nov 6, 2009 at 2:23 AM, Frébault Roger <roger.frebault@...> wrote:
Hi all,

I have the following problem. A datagrid shows data.
I apply a filter on the data, but the filtered data doesn't show correctly.
In place of the rows that have to be displayed I have a the same count
of empty rows at the end of the data.
If I "ClientSort" the grid then the data appears correclty filtered.

--
Roger

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


_______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Re: Stange behavior of dojox.grid.DataGrid

by Nathan Toone-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How are you applying the filter?  Could you post some example code (specifically the parts that define your store and your grid).

-Nathan

On Fri, Nov 6, 2009 at 7:27 AM, Frébault Roger <roger.frebault@...> wrote:
Hi Nathan,

I am using then simple dojo.data.ItemFileReadStore.


Roger


Nathan Toone wrote:
What store are you using?  The filter and sorting is handled by the store...not the grid.  The grid just passes that info on to the underlying store.

-Nathan

On Fri, Nov 6, 2009 at 2:23 AM, Frébault Roger <roger.frebault@...> wrote:
Hi all,

I have the following problem. A datagrid shows data.
I apply a filter on the data, but the filtered data doesn't show correctly.
In place of the rows that have to be displayed I have a the same count
of empty rows at the end of the data.
If I "ClientSort" the grid then the data appears correclty filtered.

--
Roger

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest



_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest



_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest