Sandboxing a Forum Example | Summary: This example makes a number of things evident |
| Author: jsakalos / EXTJS Forum / bdt |
| Published: 13MAY2007 |
| Ext Version: 1.1 |
| Languages: |
1st cut ... please don't smash. --Bentremblay-2425 18:09, 9 June 2007 (CDT)
NB: I need to figure out whether to link images from forum or upload them here.
|
| jsakalos | 05-13-2007 08:06 PM |
| dnixon: | 05-14-2007 10:57 AM |
| jsakalos | 05-14-2007 11:01 AM |
| Hatejs: | 05-14-2007 09:59 AM |
Toolbar align right | jsakalos: | 05-14-2007 10:02 AM |
// add your left aligned buttons here
// add greedy spacer e.i. subsequent buttons will be aligned right
Ext.get(Ext.get(tb.addSpacer().getEl()).dom.parentNode).setStyle('width', '100%');
// add your right aligned buttons here
| galdaka: | 05-14-2007 10:51 AM |
1) How to calculate a number of childNodes in tree?
2) What do you think about use this search method instead of your "filter": <a href="http://extjs.com/forum/showthread.php?t=5397" target="_blank">http://extjs.com/forum/showthread.php?t=5397</a>
| jsakalos | 05-14-2007 10:59 AM |
Re 2: I WAS inspired by that link. I only didn't want to use quick search rather I decreased the pageSize.
Before Ext I'd done "grid" filtering such a way that each column had
empty field above it to type a filter text and also there was a
possibility for user to give a name to a filter and save it.
This way he/she didn't need to type repetitive filters again.
The filtering I use now is enough for this Privilege System but as soon
as I need more clever one I'll either do one myself or I'll try to
coordinate with Jack (at least ideas).
| davidelias | 05-14-2007 11:52 AM |
|
Originally Posted by jsakalos (Post 30860) PHP Code:
|
Ext.fly(tb.addSpacer().getEl().parentNode).setStyle('width', '100%')