hello, I have a data grid, that has one column which is a Dropdown (create in the column's template)
Now above this DataGrid, I created a button that allows the user to enter "edit mode".
I want to disable or put in read-only the grid, until that button is clicked.
I see that the DataGrid has only a "visible" property, which is too much, because it hides the grid, and I want to keep showing it, just the user cannot change the Dropdown values until he clicks the button.
What I tried to do, is to call the dropdown from the column, but I noticed that Radzen, in the generated Angular code, doesn't create a @ViewChild for the components created inside a Grid's template!!!
This means I cannot do : "this.DropdownName.disabled = true" like I usually do with Dropdowns that are components in the main page.
@korchev ok nevermind, I figured it out!! Great that is exactly what I needed!
Can I also ask you which kind of component's events work from a DataGrid Column's template and which do not?
Because I saw that for a DropDown inside a Column's Template, the event "Change" is fired correctly,
but for example, if inside a Column's Template I put another DataGrid, its events, like loadData and so on, won't be fired!
I have a grid, with another grid as template of that grid (so I can have an expand row) but I tried almost everything, and the console.log() inside the events of the Grid inside the template of the main Grid never fired