How to group JSON data using group_name
Json :
[
{"fullname":"fffffffff","email":"sss@gg","mobile":"3333333333","designation":"ggg","group_name":"engineers"},
{"fullname":"ddddddddddd","email":"sssg@gg","mobile":"3333333333","designation":"fffff","group_name":"programmers "},
{"fullname":"hhhhhhhhh","email":"email@hotmail.com","mobile":"020202028347","designation":"programmer","group_name":"engineers"},
]
Here I appended it dynamically to table.
jQuery:
function (data) {
$("#view_table").ViewTable('option', 'data', data);
}
I managed to append data to table but it cannot be grouped and that why it shows undefined as shown in attached picture.