[CLOSED] Gridpanel columns move with locked = true

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Gridpanel columns move with locked = true

    Hi,
    on loading page I need to move column programmatically.
    The code that I use is this

    grid.ColumnModel.Move(0, 10)
    (move columns with index 0 to position 10)

    all work fine, but if in my page there is one or more columns with Locked="True"
    I get this error

    You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)
    System.Exception: You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)


    The problem occours every time that I move a locked column or a non locked column.
    Is there a smart solution?

    I've tryed to set all columns to Locked="False", move, and reset it to Locked="True" but the new error is this

    Uncaught TypeError: Cannot read property 'move' of undefined

    Thanks in advance
    Polo
    Last edited by Daniil; Aug 12, 2014 at 3:26 PM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] gridpanel Locked="true"
    By gs_user in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 08, 2013, 12:12 AM
  2. [CLOSED] how can i set TreePanel TreeColumn locked=true
    By UT007 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 17, 2013, 3:32 PM
  3. Replies: 3
    Last Post: Feb 15, 2013, 3:49 AM
  4. Replies: 1
    Last Post: Feb 15, 2013, 3:19 AM
  5. [CLOSED] [1.0] Can not select row in locked columns of GridPanel
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 12, 2010, 4:41 PM

Tags for this Thread

Posting Permissions