formatting data inside an a datatable
<p>HI,
i have an datatable like this. i need  to  format the data like this.</p>

<pre><code>ID    name        mailID
12    kumar       kumar@gmail.com
14    kumar       kumar@gmail.com
17    kumar       kumar@gmail.com
20    kiran       kiran@gmail.com
21    kiran       kiran@gmail.com
26    kiran       kiran@gmail.com
100   Ram         Ram@gmail.com
101   Ram         Ram@gmail.com
102   Ram         Ram@gmail.com
</code></pre>

<p>now  in  need  to  format the data like this in  a  datatable . can any one  help me  out  how  to  sort this  issue.</p>

<pre><code>ID           name        mailID
 12,14,17     kumar       kumar@gmail.com
 20,21,26     kiran       kiran@gmail.com
 100,101,102   Ram        Ram@gmail.com
</code></pre>

<p>any help  would be  great </p>

<p>thanks</p>

<p>prince</p>
