Announcement

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

    Cannot read property 'getInnerColumnWidth' of undefined

    Hello,

    I am getting the error "Cannot read property 'getInnerColumnWidth' of undefined" when I am freezing a column on at TreeGrid. The particulars are:

    1. Isomorphic SmartClient/SmartGWT Framework (v10.1p_2017-11-25/Enterprise Deployment 2017-11-25)
    2. Chrome, IE 10, Edge (every browser I've tested with)

    I checked out code for either "getInnerColumnWidth" or "getEditFormItemFieldWidths". Neither was found. I also checked the SmartClient Reference for both terms. Neither is exposed to developers that I can find.

    The full error from the SC Console is:
    11:36:44.032:MUP0:WARN:Log:TypeError: Cannot read property 'getInnerColumnWidth' of undefined
    Stack from error.stack:
    cons.getEditFormItemFieldWidths(<no args: exited>) on [RecordEditor ID:myProjectsGrid_filterEditor] @ ISC_Grids.js:49308:26
    cons.invokeSuper(<no args: exited>) on [RecordEditor ID:myProjectsGrid_filterEditor] @ ISC_Core.js:6553:44
    cons.Super(<no args: exited>) on [RecordEditor ID:myProjectsGrid_filterEditor] @ ISC_Core.js:6371:21
    cons.getEditFormItemFieldWidths(<no args: exited>) on [RecordEditor ID:myProjectsGrid_filterEditor] @ ISC_Grids.js:77258:27
    cons.setBodyFieldWidths(<no args: exited>) on [RecordEditor ID:myProjectsGrid_filterEditor] @ ISC_Grids.js:37359:44
    cons._updateFieldWidths(<no args: exited>) on [ProjectManagementGrid ID:myProjectsGrid] @ ISC_Grids.js:37978:31
    cons.layoutChildren(<no args: exited>) on [ProjectManagementGrid ID:myProjectsGrid] @ ISC_Grids.js:37572:14
    cons.rebuildForFreeze(<no args: exited>) on [ProjectManagementGrid ID:myProjectsGrid] @ ISC_Grids.js:58212:10
    cons.toggleFrozen(<no args: exited>) on [ProjectManagementGrid ID:myProjectsGrid] @ ISC_Grids.js:58556:10
    eval(<no args: exited>) @ [no file]:3:18
    cons.selectMenuItem(<no args: exited>) on [Menu ID:myProjectsGrid_cornerMenu] @ ISC_Grids.js:79240:28
    cons.rowClick(<no args: exited>) on [Menu ID:myProjectsGrid_cornerMenu] @ ISC_Grids.js:79118:10
    cons.eval(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ [no file]:4:127
    cons._rowClick(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Grids.js:17098:32
    cons.invokeSuper(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Core.js:6553:44
    cons.Super(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Core.js:6371:21
    cons._rowClick(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Grids.js:18948:30
    cons.click(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Grids.js:17059:17
    cons.handleClick(<no args: exited>) on [GridBody ID:myProjectsGrid_cornerMenu_body] @ ISC_Core.js:69789:33
    cons.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:39527:44
    cons.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:37079:24
    cons._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:36785:54
    cons.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:36628:26
    cons.dispatch(handler=>[c]EventHandler.handleMouseUp(), event=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:40962:30
    HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:127
    The field that this occurs on is a Picklist. Unfortunately, it only appears to happen with this one picklist.

    If there's any other information I can provide, please let me know.

    Thank you.

    Paul Fincke
    Segue Technologies, LLC


    #2
    We don't see a way that this should be possible through interaction with the header button menu, and are not able to reproduce it with the build in question. Can you provide some repro code as the FAQ instructs - perhaps a modified Feature Explorer sample?

    Comment

    Working...
    X