reactive-table icon indicating copy to clipboard operation
reactive-table copied to clipboard

Compare two columns data in custom filter

Open franciscohanna92 opened this issue 7 years ago • 3 comments

Hi! First of all, great package!

I was trying to make a custom filter that would compare two columns. Is there anyway that I could achieve this?

I'm working with the checkboxFilter example. When I check the box I want to display only those where the value of column 1 is greater than the value of column 2.

franciscohanna92 avatar Nov 05 '17 22:11 franciscohanna92

Sorry, the filtering's only set up to work with one column at a time.

aslagle avatar Nov 19 '17 19:11 aslagle

Yes, I went trough the code and realized that. I achieved what I want it by denormalizing this comparison upon insert.

Thanks anyway and great package!

franciscohanna92 avatar Nov 19 '17 19:11 franciscohanna92

Glad you figured something out!

aslagle avatar Nov 19 '17 19:11 aslagle