So I've been messing around with a DataGrid
headerRenderer, trying to use a check box to
select/unselect a bunch of other check boxes in a
data grid.  What I'm running into is that if I send
out an itemUpdated event or if I update the
dataProvider in such a way that it fires off
the itemUpdated event (or whatever event it is) it
invalidates the header. What I'm running into is that
it seems like I can't get the header to remember it's
current state if I change it.  It always reverts
back to the primitive state upon an update event from
the dataGrid.  If you click on the checkbox in the
header, you'll see what I mean.  it should check all
boxes in the datagrid column and remain clicked,
however it doesn't.  clicking on the column header
will check all of the column boxes, but the column
header remains unchecked - even though it is
specifically set to checked.

Am I doing something wrong here?  Anybody know how to
get around the problem?  Is this not supported?

test swiff is located here:
<a
href="" href="http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.html">http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.html">http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.html</a>

code is located here:

<a
href="" href="http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.zip">http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.zip">http://www.wokits.com/code_samples/checkBoxTest/testHeaderCheckBox.zip</a>

Appreciate the help.

Jon Hirschi
Knowledge Management


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to