|
I’ve a tricky job with a datagrid request from an
employer and wondering how I should tackle this. They want a datagrid that can
do multiple selections by a checkbox in a row – not your normal
shift-click. So you click on 3 checkboxes for 3 rows, and all 3 get selected. How can I bind the checkbox click to the datagrid
selectedIndices – is there an easy way to reference the datagrid through
the cellrenderer dataObject? Having a hard enough time getting the checkbox to
correctly sort and be remembered. I’m considering trying to “cheat”
and make it so when you click anywhere in the row, it selects that row and
checks/unchecks the checkbox – but even this is stumping me how I can
bind the cell-renderer checkbox to the selectedindices array or something
similar. I’ve actually ran this by and they’re fine with that, so
how can I bind selecting a row in a datagrid to checking that row’s
checkbox…and allowing normal clicks toggle what’s selected (not
shift-click). _________________________________________ Jonathan Miranda Flexible Master of
the Web "In the game of
chess, it's important to never let your opponent see your pieces." -- 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
YAHOO! GROUPS LINKS
|
- [flexcoders] How to handle this DataGrid request Jonathan Miranda
- Re: [flexcoders] How to handle this DataGrid request JesterXL
- RE: [flexcoders] How to handle this DataGrid request Jonathan Miranda
- RE: [flexcoders] How to handle this DataGrid request Jonathan Miranda
- RE: [flexcoders] How to handle this DataGrid request Jonathan Miranda
- RE: [flexcoders] How to handle this DataGrid request Jonathan Miranda
- Re: [flexcoders] How to handle this DataGrid req... Manish Jethani

