Easygrid icon indicating copy to clipboard operation
Easygrid copied to clipboard

Question regarding column format and filters

Open marcosnils opened this issue 9 years ago • 0 comments

Hi @tudor-malene.

I've been using EasyGrid with jquery datatables layout and filters in production for the last couple of months and so far the experience has been flawless.

I'm finding myself in a situation where I need to deviate a little bit from the default layout and I wanted your opinion about how easy (if possible) is to adapt EasyGrid to my new requirements.

Basically I need two main things:

  1. The ability to show more than one value per Grid cell

Imagine that I have the class Address with fields Country, City, Street, etc I'd like my grid to show a single column Address with all my values. I thought about using easygrid formatting for that but I've realized that format closure only takes the value of the element to display instead of the object beeing rendered for that row.

  1. Related to 1, The ability to allow a user to filter for a column that's not present in the grid.

Taking the same example above I'd like to still filter by any of the entity fields but only one column with the data will be displayed.

I realized I could add the columns to the grid and use the bVisible property in the taglib to hide them but this will also hide the input filters. Is there a way to hide the colmun but still make the search filters work?

I appreciate your time and please keep up the excellent work!.

marcosnils avatar Jul 07 '15 10:07 marcosnils