-
1 Mar 2007 9:38 AM #1
Anything besides strings in grid headers?
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
but, not unexpectedly, I just see "[object Object]" in the header instead of the usual header string.Code:var input = new Ext.form.TextField(); var cm = new Ext.grid.ColumnModel([{header: input, dataIndex: 'bla..'}]);
I've tried looking at the source code ... but it's beyond me really.
Any thoughts most welcome.
Many thanks
WIll
-
28 Feb 2008 6:57 AM #2
Hi,
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.
Regards,
Mario
Similar Threads
-
grid headers appear above dialog
By ericwaldheim in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 8 Jan 2009, 11:43 PM -
Nested headers with grid?
By KRavEN in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 10 May 2007, 6:21 AM -
Grid with vertical AND horizontal headers?
By Kikinou in forum Community DiscussionReplies: 8Last Post: 28 Dec 2006, 4:52 PM -
Variable schema/headers for grid
By bascule in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 16 Nov 2006, 6:52 AM -
Default CSS Renders Grid with headers only
By abaer in forum Ext 1.x: BugsReplies: 2Last Post: 13 Sep 2006, 7:26 AM


Reply With Quote