[CLOSED] Icon in Nested Lists

  1. #1

    [CLOSED] Icon in Nested Lists


    it's possible to add one icon to the Nested lists row (before text)?

    And more generally, it's possible to use a custom template to have custom rows?

    Last edited by fabricio.murta; Jan 03, 2017 at 9:36 PM. Reason: no user feedback for 7+ days
  2. #2
    Hello @ADV!

    As for the icons, I'm afraid the NestedList ignores the icon setting in the treestore's nodes, if any, unfortunately.

    As for the item template, you can set it up through the NestedList's ListConfig in a similar way to this example:
    User Inteface > Lists > Sortable.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3

    can you provide for example how i can get this (multilevel Nested lists)


    without using TreeStore and instead using <ListConfig><ext:List...?

    thank you
  4. #4

    The nestedList requires a tree store as it has multiple level. If you need a single-level list, use the plain List component, as the example above.

    As for customizing the display of the NestedList, something like that should get you started:

    <%@ Page Language="C#" %>
    <!DOCTYPE html>
    <head runat="server">
        <form id="form1" runat="server">
            <ext:ResourceManager runat="server" />
            <ext:NestedList runat="server" ID="nl1" Title="Restaurant Menu" FullScreen="true">
                    <ext:List runat="server">
                        <ItemTpl runat="server">
                                <div style="display:inline-block; width: 10%;">
                    <ext:TreeStore runat="server">
                            <ext:Model runat="server">
                                    <ext:ModelField Name="text" />
                            <ext:Node Text="Menu">
                                    <ext:Node Text="Drinks" Icon="Anchor" Checked="true">
                                            <ext:Node Text="Water" />
                                            <ext:Node Text="Beer" />
                                            <ext:Node Text="Whiskey" />
                                            <ext:Node Text="Wine" />
                                    <ext:Node Text="Dishes" Icon="Application" Checked="false">
                                            <ext:Node Text="Rice" />
                                            <ext:Node Text="Beans" />
                                            <ext:Node Text="Meat" />
                                            <ext:Node Text="Salad" />
    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Hello @ADV!

    It's been some time since we last replied you here and still no feedback from you. Do you still need help with this issue? We're looking forward for your feedback.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Databind nested lists to gridpanel
    By Fahd in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 28, 2013, 4:05 AM
  2. Replies: 6
    Last Post: Oct 15, 2012, 6:20 AM
  3. [CLOSED] Nested data in nested grids
    By FAS in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: Apr 19, 2012, 7:51 PM
  4. Replies: 3
    Last Post: Jul 20, 2010, 7:48 PM
  5. Bullets and numbered lists in HtmlEditor
    By jsemple in forum 1.x Help
    Replies: 0
    Last Post: Mar 04, 2009, 4:21 PM

Posting Permissions