Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rendering HTML data in table & column filtering input #383

Merged
merged 7 commits into from
May 10, 2024

Conversation

lukasmatta
Copy link
Collaborator

@lukasmatta lukasmatta commented May 9, 2024

  • new input renderDataAsHTML, false by default, if set to true, data are rendered using innerHTML instead of {{ }} interpolation
  • new input filterableByColumns - enables filtering on all columns (by default filter type is automatically detected based on data, it is possible to turn this auto detection off by setting autoColumnFilterType to false, then all filters will behave as simple text filters, or one can define type of the filter for given column by adding filterType property to column object)
  • new input colFilterTypeName - defines name of the property that might contain column filter type
  • new input autoColumnFilterType - if true, automatically detects filter type based on values, otherwise sets 'text' filter type for all columns, takes effect only if filterableByColumns is true
  • new input colDateFormatName - defines name of the property that might contain date format

@lukasmatta lukasmatta linked an issue May 9, 2024 that may be closed by this pull request
@lukasmatta lukasmatta changed the title Support rendering HTML data in table Support rendering HTML data in table & column filtering May 9, 2024
@lukasmatta lukasmatta marked this pull request as draft May 9, 2024 13:51
@lukasmatta lukasmatta changed the title Support rendering HTML data in table & column filtering Support rendering HTML data in table & column filtering input May 9, 2024
@lukasmatta lukasmatta marked this pull request as ready for review May 10, 2024 09:37
@lukasmatta lukasmatta merged commit 2398b05 into master May 10, 2024
1 check passed
@lukasmatta lukasmatta deleted the 382-support-rendering-html-in-cpstable branch May 10, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support rendering HTML and add input for column filtering in CpsTable
2 participants