i have a ui-grid with this structure : http://plnkr.co/edit/qwfPVBfci4qbMEbwdNvM?p=preview how can I customize this grid to have different number of header or data . actualy i have to make dynamic funktion for difference kind of dataset for example for this dataSet:
{0:["date","numberOfTransaction", "price"],
1:["20170207", "3029223", "5294194476028"],
2:["20170208", "2176469", "1479374036275"],
3:["20170209", "2902111", "6971208095034"],
4:["all", "8107803", "13744776607337"]}
or for this :
{0:["date","numberOfTransaction", "price","total price"],
1:["20170207", "3029223", "5294194476028","3232"],
2:["20170208", "2176469", "1479374036275","223"],
3:["20170209", "2902111", "6971208095034","322"],
4:["all", "8107803", "13744776607337","1321"]}