--- In flexcoders@yahoogroups.com, "Danko Kozar" <[EMAIL PROTECTED]> wrote:
>
> I
> I've taken a look at your grid - you are basically extending a 
> Canvas and laying out a DataGrid and "indipendant" VScrollBar on 
> that canvas.

I didn't extend DataGrid because although I really am adding
functionality to it, I didn't feel that it offered enough control over
the datasource to make it work.  And since I was mostly adding visual
components to it it made more sense to leave it alone rather than try
to hack my bits onto it.

For your use case I do think that extending DataGrid makes more sense.

> My goal is to extend a DataGrid and use only its features.. and till 
> now it goes well. I prevented default sorting by header click and 
> refreshing data on scrollbar events. So now I've got something like 
> a "DeadGrid" :-) In which clicking headers and moving a scroller 
> does nothing except raising events which trigger server-side 
> procedures that fetch a fresh data based on a ScrollEvent.position 
> and grid.sort. On dataProvider REFRESH event, fresh data is loaded 
> into the grid..

I look forward to seeing the fruits of your labor.

Paul


Reply via email to