Results 1 to 2 of 2

Thread: Anything besides strings in grid headers?

  1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating

    Default Anything besides strings in grid headers?

    Hi there

    I'm wondering if it's possible to put any kind of element e.g. input box, into a header of a grid?

    In the columnModel I've tried doing something like

    var input = new Ext.form.TextField();
    var cm = new Ext.grid.ColumnModel([{header: input, dataIndex: 'bla..'}]);
    but, not unexpectedly, I just see "[object Object]" in the header instead of the usual header string.

    I've tried looking at the source code ... but it's beyond me really.

    Any thoughts most welcome.

    Many thanks

  2. #2
    Ext User
    Join Date
    Feb 2008
    Vote Rating



    I'm having the same problem. Did you find a way to add text boxes or combo boxes into the grid header?

    Thanks for your answer.


Similar Threads

  1. grid headers appear above dialog
    By ericwaldheim in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 8 Jan 2009, 11:43 PM
  2. Nested headers with grid?
    By KRavEN in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 10 May 2007, 6:21 AM
  3. Grid with vertical AND horizontal headers?
    By Kikinou in forum Community Discussion
    Replies: 8
    Last Post: 28 Dec 2006, 4:52 PM
  4. Variable schema/headers for grid
    By bascule in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 16 Nov 2006, 6:52 AM
  5. Default CSS Renders Grid with headers only
    By abaer in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 13 Sep 2006, 7:26 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