Author Topic: Bug in Tree Grid  (Read 420 times)

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Bug in Tree Grid
« on: July 18, 2023, 09:46:57 pm »
Setting "virtualWin" for a TreeGrid causes an error.

On Tree Grid, if you set a column to dataType:"float" and then in the render function return a number and not a string, it doesn't output the number.  Works fine on normal grids.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Bug in Tree Grid
« Reply #1 on: July 18, 2023, 10:13:17 pm »
number is not supposed to be returned in the column.render callback. It has no relation to the dataType of the cell.

https://paramquery.com/pro/api#option-column-render

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Bug in Tree Grid
« Reply #2 on: July 20, 2023, 07:08:03 pm »
and about first point is about "virtualwin" for a tree grid causes an error?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Bug in Tree Grid
« Reply #3 on: July 20, 2023, 07:19:39 pm »
Please mention the error details.