Open 1TMAN1010 opened 7 years ago
It would be nice if I could just reference the model or a property on the current model and get that into the Grid something like: @Html.MVCGrid("gridfoo", Model.dataResultList) however I ended up just adding to the session and accessing via session in the RetrieveDataMethod of the GridDef.
has that worked for you ?
I'm in a partial view where a Model that is populated with a light dataset is getting passed in to that view, now I simply want to pass that Model to the grid. I see the QueryOptions, but that doesn't do what I need, I'd like to provide the model to GridMvc, is there a method to do this?