Author Topic: How to Filter the rendered column?  (Read 381 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
How to Filter the rendered column?
« on: April 14, 2023, 03:26:35 pm »
Hi Paramvir,

I am showing the From and To Date with a - separator. To achieve this I apply a render function on that column.
After the render, the columns show data as per the expectation.

But, whenever I try to apply a local filter on that columns the filter does not work. The same is happen with the sort also.

Kindly check the attached file with the code and screenshots.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: How to Filter the rendered column?
« Reply #1 on: April 17, 2023, 11:46:26 am »
column render is not meant to fulfill dependencies between the columns.

Also column filters work on cell values and not cell renderers.

so you have set up column dependencies to update the column values first. Then you can use column renders to add any html tags if required.

Example of dependent columns: https://paramquery.com/pro/demos/rowtemplate
« Last Edit: April 17, 2023, 11:56:52 am by paramvir »