Results 1 to 3 of 3

Thread: How to get column's sortType from sortchange event?

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    28
    Answers
    1
    Vote Rating
    1
      0  

    Default How to get column's sortType from sortchange event?

    I have a custom function for grid's sortchange event. The dataIndex is easily accessible, but I need the column's sortType also. I'm totally lost on how to access this, so could anyone help me here?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Isn't the sortType on the field in the Model not the column?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    28
    Answers
    1
    Vote Rating
    1
      0  

    Default

    Yes it is, and that is the problem. I assume this is impossible, then?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •