Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Marvin Elder on Oct 22, 2009 13:14
open dhtmlx forum
Regroup / Ungroup

In the prev. version of dhtmlx you had a sample html showing how to ungroupBy / regroupBy.

The sample code had these lines:
<td>
    <input type="button" name="a2" value="ungroup" onclick="mygrid.unGroup();">  
    <input type="button" name="q1" value="regroup by" onclick='mygrid.groupBy(document.getElementById("sel").value);'>
    <select id="sel">
        <option value="0">Sales</option>
<option value="1">Book title</option>
<option value="2">Author</option>
<option value="3">Price</option>
         <option value="4">In Store</option>
<option value="5">Shipping</option>
<option value="6">Bestseller</option>
<option value="7">Date of Publication</option>        
</select>
</td>

Is there a new sample of how to ungroup and regroup dynamically?

Answer posted by Stanislav (support) on Oct 23, 2009 03:02
Answer posted by Marvin on Oct 23, 2009 07:37
That 'sample' on the doc link you showed is just a copy of the same html from the previous version. 
It does not work when I cut and pasted it in my new 2.5 grid folders. 
In fact, there is no '07_extended_modes' folder under my 2.5 folders.  Maybe I should download it again?

Marvin

Answer posted by Stanislav (support) on Oct 23, 2009 07:44
All online samples are using dhtmlx 2.5, same version as in downloadable package. 

Are you using pro or standard edition of grid? Grouping is available as part of pro version only. 
Answer posted by Marvin on Oct 23, 2009 08:53
I have a Commercial license:
dhtmlxSuite Commercial license (Dec. 11, 2008)

How do I download the Commercial version if the dhtlmx site's download is just the Standard version?

I intend to upgrade my license when my year is up, but I'd like to test out more 2.5 features now.

Marvin
Answer posted by Alex (support) on Oct 23, 2009 08:45

Could you please contact us at support@dhtmlx.com to get this information.