Posted 23 February 2019, 1:50 pm EST
I am trying work with the Wijmo trial. I have been able to add a grid control to a viewer in my MVC Core 2.2 application. In my onload function I am loading the data from my model.
I added the following code to the onload function which I found in another forum post to try to hide a column.
var cols = $(‘#grid1’).wijgrid(‘columns’);
cols[0].option(‘visible’,false);
When I run the application the column does not get hidden and in the console I am getting this error message;
“Uncaught TypeError: $(…)wijgrid is not a function at onload”
I have these script tags at the top of my .cshtml file
Thanks, Ed
