Results 1 to 2 of 2

Thread: ExtJS Plugin for Grid Column to support multiple sortable headers

  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    20
    Vote Rating
    8
      1  

    Default ExtJS Plugin for Grid Column to support multiple sortable headers



    multiheader_snapshot.png

    Features:

    • Allow to combine multiple fields in one column with ability to sort on each field.
    • Provide default renderer.
    • Easily customizable appearance
    Source at GitHub
    https://github.com/solovyevk/ExtJSMultiHeaderColumn

    Demos

    Config object
    • headers [Array] array of config objects: header text and model data index to sort on
    • emptyMarker[String] default output for empty value
    Usage Example
    Code:
    {
      xtype: 'datecolumn',
      format: 'm/d/Y',
      plugins: {
        ptype: 'multiheadercolumn',
        headers: [
          {text: 'Start Date', dataIndex: 'startDate'},
          {text: 'Test Date', dataIndex: 'testDate'},
          {text: 'Due Date', dataIndex: 'dueDate'}
        ],
        emptyMarker: '-'
      }
    }

    Currently tested with ExtJS 6, 5.1.2

    This component also migrated to ExtJS4, just download and run examples.html out of box

    Source at GitHub

    https://github.com/solovyevk/ExtJSMultiHeaderColumn/tree/ExtJS4

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,545
    Vote Rating
    257
      0  

    Default

    Nice work. Thanks for sharing your efforts with the community.


    Join me at SenchaCon 2016!

Similar Threads

  1. Grid column headers http support
    By VadimV1144 in forum Sencha GXT Q&A
    Replies: 1
    Last Post: 29 May 2012, 11:15 AM
  2. Grid column reordering along with multiple headers.
    By jalpa.pujara in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 9 Nov 2011, 5:55 AM

Posting Permissions

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