[CLOSED] Setting GridPanel column dataindex

  1. #1

    [CLOSED] Setting GridPanel column dataindex

    Settings GridPanel.ColumnModel.SetDataIndex(0, "MydataIndex") does not automatically reflect after ajax call. If you do an ordering it updates. If you set it during page load (Page.IsPostback is false) it works.



    - tansu
  2. #2

    RE: [CLOSED] Setting GridPanel column dataindex

    Hi,

    I think you need to call after SetDataIndex
    GridPanel1.ColumnModel.AddScript("{0}.getView().refresh(true);", GridPanel1.ClientID);
    *
  3. #3

    RE: [CLOSED] Setting GridPanel column dataindex

    Thank you Vladsch. Will this be bug (if you perceive it as a bug) corrected in next release ?

    -tansu
  4. #4

    RE: [CLOSED] Setting GridPanel column dataindex

    Hi,

    We fixed it. Now you don't need to call that script manually*


Similar Threads

  1. [CLOSED] setting column width in javascript has no effect
    By GLD in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 23, 2012, 1:48 PM
  2. Replies: 0
    Last Post: Aug 03, 2011, 10:27 PM
  3. setting focus on nth column of nth row in a grid
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 1
    Last Post: Dec 25, 2009, 5:14 AM
  4. Replies: 2
    Last Post: Jul 30, 2009, 3:04 PM
  5. Replies: 1
    Last Post: May 22, 2009, 3:42 PM

Posting Permissions