-
19 Feb 2008 2:42 AM #81
Does search appear in the same grid if the grid is standalone? Browser dependent? deferredRender:false on TabPanel?
These are things I'd check. Also, you can try to add hideMode:'offsets' to your TabPanel.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Feb 2008 12:25 AM #82
Ok, the same grid into a simple window, without accordion around, work perfectly, and it's very nice!
The problem appear in both in IE 6 and Mozilla.
This is my accordion code, I've tried with both the deferredRender: false and the hideMode:'offsets' in the accordion and also in the single panel with the grid, but the trigger field does not appear.
This is my accordion (corpus_extra_grid is the grid with the plugin). Ideas?
Code:var corpus_accordion = new Ext.Panel({ height:winHeight - 60, layout:'accordion', border:false, items:[{ title: 'Corpus Info', iconCls: 'bogus', items: [this.corpus_panel], anchor: '100%', layout: 'fit' },{ title: 'Extra Dati', iconCls: 'extra', deferredRender: false, hideMode:'offsets', items: [this.corpus_extra_grid], anchor: '100%', layout: 'fit' }] });
-
20 Feb 2008 1:07 AM #83
Sorry if I mislead you, accordion layout extends fit layout so deferredRender is ignored as it is only for card layout and subclasses (tab panel).
I think that I've read some issues of TriggerField (used by the plugin) in TabPanel (or Accordion layout); try to search the forum if there is a solution provided in that thread.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Feb 2008 2:58 AM #84
Thanks for the suggestion. I searched into the forum, and I founded this post: http://extjs.com/forum/showthread.ph...iggerField+tab
But I really have no idea how to use into my accordion. How can I change the hide modality of the element. Any suggestion?
-
20 Feb 2008 3:19 AM #85
I also have no "do-this" recipe... Anyway, one idea: How do you create your grid? xtype or new keyword? Use xtype approach if possible.
http://extjs.com/forum/showthread.ph...476#post125476Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Feb 2008 7:43 AM #86
Yes, you're right, but your Ext experience is longer than mine, so may be you have more good ideas...

Anyway... I need the instance of the grid, so I need to use the new constructor to build it...
-
20 Feb 2008 11:52 AM #87
Hmmm, one of the best things of Ext 2.x compared with Ext 1.x is the possibility and support of lazy instantiation. I cannot say that it will solve your problem for sure, however, try to think of a possibility to use the lazy instantiation everywhere possible. This can be usually attained by non-major code refactoring.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
22 Feb 2008 3:39 AM #88
Problems with this plugin with card layout
Problems with this plugin with card layout
Jozef,
Thanks for the plugin, this is excellent, however I have an issue with using it with a card layout.
See the attached forum post which explains issues with the twintrigger field when used in a card layout where that card is not the active item at time of render.
http://extjs.com/forum/showthread.php?t=17242
This is the issue I am having, I am using your plugin on a grid which is in a card layout but is not the activeItem when the card layout is rendered. The search input field (twintrigger field) is not dispalyed when the card is made the active item, the search button is visible but the twin triggerfield wrap has width:0 added to it's style.
As the twintrigger field is embeded in the plugin I am at a loss at to correctly set the width of the twintrigger field when the card containing it is made the actice item.NBRed5
www.NBRed5.com
-
22 Feb 2008 10:52 AM #89
Now I see that it can be the serious problem. Could you please wrap up a simplest possible showcase that I can debug locally? I'd dig into it.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
25 Feb 2008 6:52 PM #90
Hi,
I've copied the html code as-is but recieve an error: 'prototype' is null or not an object
any ideas?
Thanks


Reply With Quote