PDA

View Full Version : How-To : Retrieve outline icon



becomcs
15 Jun 2007, 12:39 AM
Hi!

It seem possible to retrieve icon defined in the outline.

How-To?

galdaka
15 Jun 2007, 4:40 AM
http://extjs.com/forum/showthread.php?t=6618

jratcliff
15 Jun 2007, 5:02 AM
Hi!

It seem possible to retrieve icon defined in the outline.

Is this improvement planned?

Try passing "useOutlineIcons: true" in the config object for an outline.

So, if you were creating an oultine on a page, the code would look like this:


var outline1 = new Ext.nd.UIOutline({
container : 'outline1',
outlineName : 'mainOL',
useOutlineIcons : true
});


For the Ext.nd.DominoUI class, the code would look like this:


var ui = new Ext.nd.DominoUI({
uiOutline : {outlineName: "mainOL", useOutlineIcons: true},
uiView : {viewName: "someView"}
});


Let me know if it works for you. I'll also update the domino directory online demo to use the icons from the outline.

becomcs
15 Jun 2007, 5:11 AM
Thanks a lot.

It works fine