|
If you do not update the checkbox value in
the dataProvider and set the state it in setValue, then when you scroll, the
check state will be lost. From: Hm I ‘m not sure about directly
addressing the cell, then, because I’d think that the cell that is
rendering the dataObject should be rendering in relation to the object passed
in. I mean unless they are all bound to one property held outside the dataprovider. You can go My_dg.dataProvider.refresh(); Or even use a collection and the do a
notifyUpdate – but I haven’t used that too much. From: Thanks for the reply Stacey. I dont have the state of the checkBox in my dataProvider right now. If
I do manage to stick it in there, what is this refresh method that you are
referring to ?
On 1/26/06, Stacey
Mulcahy <[EMAIL PROTECTED]>
wrote: Technically if you go to the model, change the data in there
( the dataprovider), call a refresh, you can handle that in your cell renderer.
You should also be able to get at it something like
columnIndex,itemIndex – like for focusedcell From: [email protected]
[mailto:[email protected]]
On Behalf Of superabe superabe I have a
question that seems like it should be a basic one. I have a
DataGrid and I need to go over its currently visible rows and deselect a check
box in one of the cellrenderers based on a condition. Is there
some property on the datagrid that can be used access the rows and
then the cell renderer in it for e.g like
my_dg.rows[i].cell[0] ? TIA -
superabe
SPONSORED
LINKS
YAHOO!
GROUPS LINKS
|

