-
24 Dec 2010 5:33 AM #1
How to pop up panel without header and body
How to pop up panel without header and body
Hi,
I want to open panel or window without header (not even close or minimize or maximize options) .
It should look like I have opened a tool tip. Actually I want to open on click of column of GridPanel. So, it should opened correspondence to position of that grid also.
Refer screen shot which I have attached here. I want same thing.
Please guide me or give some example.
Thanks
-
24 Dec 2010 5:56 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
If you want that arrow too than you should use an Ext.Tooltip and not an Ext.Panel or Ext.Window.
If you would use an Ext.Panel then you need to configure it with floating:true (already default for tooltip and window).
You can disable the header by configuring the panel (or descendant) with header:false.
-
24 Dec 2010 6:17 AM #3
Is there any configuration for arrow if I use panel?
I can't use tooltip because panel which I want will be interactive. I have to insert GridPanel in that thing.
Any work around?
-
24 Dec 2010 6:34 AM #4
I have used following code to show up panel with floating property but panel is not visible. what is wrong?
Code:{ xtype: 'button', text: 'Panel', handler: function() { var panel = new Ext.Panel({ floating: true, header: false, height: 300, width: 400 }); panel.on('afterrender', function() { panel.setPagePosition(100, 100); }); panel.show(); } }
-
24 Dec 2010 6:38 AM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
Ext.Panel.show() doesn't actually render the panel unless you configure it with autoRender:true.
ps. An Ext.Tooltip is an Ext.Panel descendant, so it can contain grids etc.
-
24 Dec 2010 6:42 AM #6
autoRender:true property resolved problem and works like charm.
Now, I have panel without header it looks same as per screenshot. But, one thing missing is arrow and round border.
is it possible here in panel?
can you provide any example of Tooltip having components?
Similar Threads
-
Panel Pop Out
By mpark17 in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 15 Jul 2010, 7:07 AM -
Mixed TableColumn alignment header/body
By jraue in forum Ext GWT: Help & Discussion (1.x)Replies: 3Last Post: 16 Jun 2009, 5:28 AM -
[2.2] Grid body doesnt align with Header
By sam_sant2005 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 1 Jun 2009, 11:38 PM -
None synchronized header and body in RTL grid.
By michal in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 7 Oct 2008, 8:48 AM -
gap between grid border and header/body
By debtman7 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 31 Jul 2008, 9:14 AM


Reply With Quote