Saturday, March 14, 2009

DataGrid Mulriple Selection without holding shift key

Once my manager asked to me to design a custom datagrid which allows multiple selection without holding shift key.Initially I googled lot but did not found anything useful. I spent lot of time without any useful result.then as usual I started looking in to data grid code and found a method named selecItem.Soon after I realized solution lies in selectItem method itself.After applying some
tweaks, i have come up with following components :-

http://flexfun.webs.com/Multiselection-release/MultipleSelection.swf (View Source Enabled)

Regards,
Dharmendra