Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109352

    In my code I do an getColumn(dataField) using my datafield as key but I get an error

    this.columnByDataField is undefined

    http://localhost:8080/web-rubik/rubikscripts/smart-components/smart.elements.js:59″

    Is it a bug ?

    I’m running 17.0.3

    Tks

    #109356
    Markov
    Keymaster

    Hi,

    This may happen when you call this method before the Grid is rendered. Make sure you call it after the Grid is created.

    Regards,
    Markov

    #109357

    I do the operation in page onload event.

    Is the grid rendered at that time ?

    How can I verify if it was already rendered ?

    Tks

    #109363
    Markov
    Keymaster

    Hi,

    The Grid has onLoad callback. In page onload it is not necessary the Grid to be rendered as you may have code to render it dynamically. Page onload only ensures that a given script is loaded.

    Regards,
    Markov

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.