This project is read-only.

Model to _grid layout?

Jul 18, 2014 at 8:16 AM
Is there a way sending my View model to _Grid.cshtml?

I would like to set entities Id on every row
Jul 18, 2014 at 10:45 AM
Okey, what I managed to do is to use SetRowCssClasses and GetRowCssClasses function to pass Id.ToString and set it on rows id.

It worked, but I problem is I can send only one variable there. What if I need more than one?

Is there a way to get specific columns value in _Grid.cshtml? (Like if I send my model and i would like to specify Id of row from there)

Now I can get whole row with GetCell(items) function, but what about getting specific cell of that row?
Jul 28, 2014 at 5:17 AM

You can create your own Grid view layout with your specific model (not IGrid) and pass any numbers of parameters