Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
Column resizing = jscript error?
posted

I drop a webhierarchicaldatagrid on a form and enable column resizing but when a column is resized, I get a Microsoft JScript runtime error: 'get_behaviors().get_columnResizing() is null or not an object' error.  This does occur w/an identically configured  webdatagrid, only the hierarchicaldatagrid.

Parents
  • 33839
    Suggested Answer
    posted

    I apologize cantrellr, but it looks as if that page in the documentation was not updated in 11.1 (I have submitted a bug so it will be fixed in 11.2).  In 11.1, three additional behaviors were supported for the WHDG.  These are column resizing, column moving, and row edit tempalte.  In 10.3 and before, they are NOT.  My guess as to your problem is one of two things.  Either you have set enabled = false on the behavior.  Or you have tried to find it off the whdg object on the client.

    var hGrid = $find("WHGD1");

    do not do hGrid.get_behaviors().get_columnResizing();

    do hGrid.get_gridView().get_behaviors().get_columnResizing();  Or off another row island.

    regards,
    David oung 

Reply Children