PDA

View Full Version : How-To : Retrieve outline icon


becomcs
06-15-2007, 04:39 AM
Hi!

It seem possible to retrieve icon defined in the outline.

How-To?

galdaka
06-15-2007, 08:40 AM
http://extjs.com/forum/showthread.php?t=6618

jratcliff
06-15-2007, 09: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
06-15-2007, 09:11 AM
Thanks a lot.

It works fine