3 Replies Latest reply on Nov 11, 2007 2:03 AM by doug777

    DataGridColumn sortCompareFunction problem

    doug777 Level 1
      The line myDataGrid.columns[0].sortCompareFunction(compareDate); generates a run-time error:

      - value is not a function. -

      Not only is compareDate a valid function, but it actually sets up and works correctly - it sorts this column by Date although the displayed label is a formatted date string. With this line removed everything works correctly, but this column sorts by the formatted date string.

      Anyone know how to stop this incorrect run-time error from occurring?

      Doug