EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jaimi on February 05, 2015, 01:48:17 AM



Title: group view in datagrid
Post by: jaimi on February 05, 2015, 01:48:17 AM
is it possible to group by more than one field. I tried something but I doesn't get it working.
I need somethin like this:

 ,view: groupview
  ,groupField: 'OLT31A004T_KEY, ZUP_UELN_F'
  ,groupFormatter:function(value,rows){
     alert( rows.ZUP_UELN_F);
    return value + ' - ' + rows.length + ' Bedeckung(en)';
   }

THX; Jaimi


Title: Re: group view in datagrid
Post by: jarry on February 05, 2015, 02:51:25 AM
You can't group more than one field when using the 'groupview' view.