Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Error sorting custom formula with grouped Grid on 8.3

    Hi there, I noticed this problem.

    Go here:
    http://www.smartclient.com/docs/8.3/a/system/reference/SmartClient_Explorer.html#customColumns

    Create a Custom Formula
    Group your Grid by any Column.
    Sort by the Custom Formula

    Then, you'll see the following error. Only tested with Google Chrome. Doesn't appear to happen in 8.2 but found this while hunting down a similar problem we are having with 8.2.

    Code:
    Uncaught TypeError: Object formulaField1 has no method 'getField'
    (anonymous function)
    isc_Arra_sortByProperties ISC_Core.js:767
    isc_Arra_setSort ISC_Core.js:764
    isc_Tree_getChildren ISC_Grids.js:84
    isc_c_Class_invokeSuper ISC_Core.js:240
    isc_c_Class_Super ISC_Core.js:233
    groupTree.createAutoChild.getChildren ISC_Grids.js:2095
    isc_Tree_getOpenList ISC_Grids.js:114
    isc_Tree_getOpenList ISC_Grids.js:115
    isc_Tree_getAllNodes ISC_Grids.js:119
    isc_Tree_getNodeList ISC_Grids.js:118
    isc_Selection_getItemList ISC_Grids.js:181
    isc_Selection_cacheSelection ISC_Grids.js:150
    isc_Selection_selectList ISC_Grids.js:168
    isc_Selection_deselectList ISC_Grids.js:171
    isc_Selection_deselectAll ISC_Grids.js:171
    isc_ListGrid__ignoreData ISC_Grids.js:810
    isc_ListGrid_destroy ISC_Grids.js:989
    isc_Canvas_destroy ISC_Core.js:1536
    isc_c_Class_destroyGlobals ISC_Core.js:260
    isc_ExampleViewer_evalExample ISC_ExampleViewer.js:72
    isc_ExampleViewer_showExample ISC_ExampleViewer.js:72
    isc_ExampleViewer_loadExampleFilesCallback ISC_ExampleViewer.js:58
    (anonymous function)
    isc_c_Class_fireCallback ISC_Core.js:249
    isc_Class_fireCallback ISC_Core.js:304
    isc_c_RPCManager_fireReplyCallback ISC_DataBinding.js:1400
    isc_c_RPCManager_fireReplyCallbacks ISC_DataBinding.js:1407
    isc_c_RPCManager_performOperationReply ISC_DataBinding.js:1398
    isc_c_RPCManager__performTransactionReply ISC_DataBinding.js:1385
    isc_c_RPCManager_performTransactionReply ISC_DataBinding.js:1314
    (anonymous function)
    isc_c_Class_fireCallback ISC_Core.js:249
    isc_c_Comm_performXmlTransactionReply ISC_Core.js:908
    (anonymous function)
    isc_c_Class_fireCallback ISC_Core.js:249
    isc_c_Comm__fireXMLCallback

    #2
    That's been fixed in nightly builds of both 8.3p (the fully patched 8.3 release) and in 9.0 for a while. Please retest with a more recent nightly.

    Comment

    Working...
    X