Hello,
I would like to know how to display columns that are hidden in my igGrid in the Row Edit Dialog Row Template. I thought that I would be able to do this, but haven't found a way nor any information in the documents. I am not auto-generating columns, but configuring each column manually and certain columns I have configured as "hidden: true" since I do not want them to appear in the igGrid itself, but would like them to appear in my Row Edit Template. Can you please shed some light as to getting this functionality to work?
Thanks in advance
Hello, I'm sorry for raising an old thread, but this was the top result on Google.
I'm having the same issue as the original poster - I would like to hide columns in my grid, but then make them visible in my row edit template. This is useful when the row edit template can show information that is updated less often to save space on the grid.
I'm just curious to know if the answer provided by Lyubomir is still the most accepted way to accomplish this. I'm using IgniteUI version 14.2.
Thank you!
I am trying to do the same on an MVC project but have not luck so far. My code looks like this:
$("#grid1").bind("rowEditDialogOpening", function (event, ui) {
// Make the desired column visible ui.owner.grid.options.columns[0].hidden = true; }); $("#grid1").bind("rowEditDialogOpened", function (event, ui) { // Restore back the initial state ui.owner.grid.options.columns[0].hidden = false; });
Can you please tell me how to apply your solution on the MVC Grid?
You're welcome :)
This method works like a Charm! Thanks a lot for the suggestion.
Hello Lyubomir,
Thanks for the response. I will give this a try. Currently, I am just giving the unwanted columns no width. That seems to give the column an appearance of being hidden.
John