Hi everyone, I have two questions about the Treegrid:
1.- Render in a modal
If I put the control in a web page, I don´t have problem with the Render, but when I work in a modal (dialog), the control don´t render.
I noticed when inspect element or resize the browser, the treeGrid render normally...but before you can see a vertical gray line (I suppose is the control) and when I do the action above, disapear and the TreeGrid works fine.
How I can render the TreeGrid in a modal? Initially, the modal is hide and when I press a button becomes visible.
I try a solution given to another user, but it didn´t work for me. There is the jquery function (I am Working with JS Essentials 1 ASP.Net Webforms):
function treeGrid1() {
var treeGridObj = $("#GridSync2").data("ejTreeGrid"),
size = { height: "350px", width: "100%", };
treeGridObj.setModel({ "sizeSettings": size });
}
2.- get selectedRows with SelectionType="Checkbox"
I using a TreeGrid with diferent levels. The idea is click in a button, a with a function extract the values of the selected rows (checked boxes).
But in spite of searching in the documentation and in the forum, I don´t find a function that pull all the rows, only the highlited row (with css class to generate a blue shade).
Is There a form to get the values of the rows selected in the TreeGrid?
Sorry for the extension of the questions, I would very grateful if you answer my question.
Thank you so much, have a nice weekend.
Best regards César Guerrero