jQWidgets Forums
Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
I am having a similar issue. The following is what MVC turnout out:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link href="/Content/site.css" rel="stylesheet"/> <link href="/Content/styles/jqx.base.css" rel="stylesheet" /> <link href="/Content/styles/jqx.shinyblack.css" rel="stylesheet" /> <script src="/Scripts/modernizr-2.6.2.js"></script> <script src="/Scripts/jquery-1.8.2.js"></script> <script src="/Scripts/jqwidgets/jqxcore.js"></script> <script src="/Scripts/jqwidgets/jqxmenu.js"></script> </head> <body> <script> $(document).ready(function () { // Create a jqxMenu $("#jqxMenu").jqxMenu({ width: 600, height: 30, theme: 'shinyblack' }); }); </script> <div id="wrapper"> <div id='jqxmenu'> <ul> <li><a href="#">Home</a></li> <li>About Us</li> <li>Services </li> <li>Products </ul> </div> . . . </div> </body> </html>
January 3, 2014 at 5:17 pm in reply to: My First TreeGrid – 3 level deep XML My First TreeGrid – 3 level deep XML #47200Could someone provide me with a Array that represents the XML example. If I were to guess, I would go with a three dimensional array, but I am still unsure of how the tree grid will use that as a source.
I could flatten the XML structure, but I am still unsure as to how to define the hierarchy.
<?xml version=”1.0″?> <Applications> <Application> <ApplicationID>1</ApplicationID> <ApplicationName>daily_darsys</ApplicationName> <EnvironmentID>1</EnvironmentID> <EnvironmentName>Development</EnvironmentName> <Severity>1</Severity> <SeverityLabel>High</SeverityLabel> <RecipientFlag>0</RecipientFlag> </Application> <Application> <ApplicationID>10</ApplicationID> <ApplicationName>daily_darsys</ApplicationName> <EnvironmentID>1</EnvironmentID> <EnvironmentName>Development</EnvironmentName> <Severity>2</Severity> <SeverityLabel>Medium</SeverityLabel> <RecipientFlag>0</RecipientFlag> </Application> <Application> <ApplicationID>10</ApplicationID> <ApplicationName>daily_darsys</ApplicationName> <EnvironmentID>1</EnvironmentID> <EnvironmentName>Development</EnvironmentName> <Severity>3</Severity> <SeverityLabel>Low</SeverityLabel> <RecipientFlag>0</RecipientFlag> </Application> </Applications>
Also, if someone could provide a 3-level tree example, that would be most helpful.
January 2, 2014 at 9:38 pm in reply to: My First TreeGrid – 3 level deep XML My First TreeGrid – 3 level deep XML #47153My apologies… that was originally formatted with indents.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)