House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Multiple selects in HTML CFGRID

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Multiple selects in HTML CFGRID

Ok, I ended finding a weird (but simple) way to allow multiple row selection Alex Hubner 11/16/2007 06:57 PM
I'm able to allow multiple selects in a html (CF8) cfgrid using the Alex Hubner 11/16/2007 01:16 AM

11/16/2007 06:57 PM
Author: Alex Hubner Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:54285#293513 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 <alexhubner@gmail.com> wrote: ----- Excess quoted text cut - see Original Post for more -----
11/16/2007 01:16 AM
Author: Alex Hubner Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:54285#293448 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
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference