Author Topic: Integer sorting with spaces  (Read 2471 times)

youngvan

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 42
    • View Profile
Integer sorting with spaces
« on: June 23, 2014, 05:40:32 pm »
Hello!
What is the best way to fix column sorting problem in situation when value can be consist of formatted Integer sum with whitespaces,
for example: '1 205,200' ?

Thanks!
« Last Edit: June 23, 2014, 05:44:01 pm by youngvan »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Integer sorting with spaces
« Reply #1 on: June 23, 2014, 06:29:08 pm »
column with dataType = 'integer' must contain integer data i.e., 1205200 while view can contain any formatting with use of column.render callback.