Ok, I ended finding a weird (but simple) way to allow multiple row selection in the cf8 html format CFGRID. For those interested (including source code), this is my solution (using cfdocexamples datasource):
http://www.cfml.com.br/cfgrid/ Recommendations and tweaks are welcome! []'s Alex Hubner On Nov 16, 2007 3:14 AM, Alex Hubner <[EMAIL PROTECTED]> wrote: > I'm able to allow multiple selects in a html (CF8) cfgrid using the > following JS: > > <script> > function allowMultipleSelect() { > > ColdFusion.Grid.getGridObject('myGrid').getSelectionModel().singleSelect=false; > } > </script> > > But when I submit the form, only the first selected value/row is sent. > I've played with getSelections() method (available from Ext) but no go. Does > anybody knows how to easily enable multiple selects and retain the values > for cfform submit? Also, its possible to build custom actions such as > "selectAll", "selectNone", etc for the new HTML CFGRID? Based on what I saw > in the Ext documentation I believe it's possible (and hope Adobe consider > this for the next cf release), but I'm not sure how to achieve it easily. > > Thanks > Alex > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

