igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Is there a way to force igx grid to treat my data as flat structure?

Open yuhongcheng2003 opened this issue 2 years ago • 3 comments

Question

I'm currently using the igx grid to display my data, but some of the fields in this flat structured data has "." in them. My understanding is igx is trying to treat my data as a nested data type instead of just use they field "as is". This basically makes my filter and sorting unusable unless I create my own sorting. Is there a way to tell the grid this is a flat structure or somehow override the valueResolver for the entire table?

  • igniteui-angular version: 12.1.6
  • browser: all

yuhongcheng2003 avatar May 05 '22 19:05 yuhongcheng2003

Having dots in the property names does clash with the nested properties implementation that was intended to be seamless and therefore cannot currently be overridden. We'll come up with some way to allow users to disable or override it but have in mind that 12.1 is no longer supported and no patches will be released for it. You'll have to switch to 12.3 once we resolve this to be able to use the solution.

ChronosSF avatar May 11 '22 15:05 ChronosSF

That works for me, thanks!

Having dots in the property names does clash with the nested properties implementation that was intended to be seamless and therefore cannot currently be overridden. We'll come up with some way to allow users to disable or override it but have in mind that 12.1 is no longer supported and no patches will be released for it. You'll have to switch to 12.3 once we resolve this to be able to use the solution.

yuhongcheng2003 avatar May 11 '22 16:05 yuhongcheng2003

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jul 31 '22 00:07 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Oct 04 '22 00:10 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Dec 04 '22 00:12 github-actions[bot]