Yes text-indent can be made dynamic.
render: function(ui) {
var GM = this.option('groupModel'),
isOn = GM.on,
level = GM.dataIndx.length;
if (!ui.rowData.pq_gtitle) {
return {
text: "<a href='url'>" + ui.rowData.ShipVia + "</a>",
style: {
"text-indent": (isOn ? (level * 20) + "px" : 0)
}
};
}
}
Manual cell merge during grouping is an interesting case though it may not work correctly because grouping also sets merge cells and that may lead to a conflict. It would be great if you can post your merge cell with grouping rows requirement in the suggestion board.