intra Hi all, I have a query that has the option for expansion rows turn on. Initially rows are collapsed, does anyone know of the method where we can set the initial view to have all the expansion rows opened up?
johntalbott Try this code in the grid init script ... let gridFirstDatabound = true config.dataBound = function(e) { if (gridFirstDatabound) this.expandRow(this.tbody.find("tr.k-master-row")); gridFirstDatabound = false }
Jaymer johntalbott wroteTry this code in the grid init script ..[/code] Dayum! John T ^^——— sure plays a mean pinball !!!
intra The script works well! The only problem is that the record operations button at the end (bootstrap theme) disappears as part of the init script. Would you have a solution?
johntalbott Do you have other script code using the databound event? I'd need to see the code to fix it.