In particular, it’s a simple subtask, not a net like a hook.
I tried various methods, but nobody works.
If I connect to subGridBeforeExpand, the table is not ready to select headers and install css.
If I connect to subGridRowExpanded, subGrid will not even render.
Property alignin subGridModelaffects only the value of the cell.
Here is my model for reference:
subGrid: true,
subGridUrl: myUrl,
subGridModel: [{
name: ["Item", "Qty"],
width: ["200", "100"],
align: ["right", "right"],
param: ["Id"]
}]
source
share