This is the sample link from here also.
I've just wanted to know what is the best approach to render it fast.
On the link I provided you will see a tree view coming out from database.
What should I do to render it fast. Here's what I think please guide for better approache(s).
1) Load only parent, then load children when the parent was clicked. (What I think was, why should I fetch all data if I am not using it. That's why I only load parent then the children when the parent is clicked. Is right or not).
2) Build the tree view in api/controller before sending it back to frontview so when the loading was complete all data was already built. (but it takes to fetch coming out from api, the user will see broken menu tree view. Lets say I have e-commerce site like this. below image). How to build menu like this in fastest way without seeing broken tree. (The image is sample to see expected result.)
Happy Coding!
...Hi,I am using C# 3-D arrays program and getting error "Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'", how I can resolve this error my current code is as below :
...Hello, I am working a javascript function, in which I want to remove square brackets from string suppose if string it "[test]
", then after removing square brackets I should get "test
" only.
How can I do this using Javascript and regex, or without regex?
...Hi, How can I initialize Multidimensional Array [][] in c# with int [3][3] (3 rows and 3 columns )? Like below
...Hi, I am trying to run the below C# code for martix, but getting error
Hi, I would like to know how to subtract total of each row in C# matrix from a magic constant number(example : 15) and sum the result, for example, here is my current matrix
...Hello, I was trying to Enable SSL in localhost, means want to turn http into https in localhost , while debuggind code in Visual Stduio 2017, how can I enable this in Visual Studio 2017 community edition?
...I have a requirement in my project, in which I need to sort the string which has alphanumeric data like below
...Hi, I have to find the repetition of number of occurence of an element in an array in c#, here is my current code for simple array
...I am using jQuery Datepicker inside a page, which works when complete page is loaded in browser, but when I load the same page in bootstrap modal pop-up, jQuery datepicker inside it doesn't work.
Not sure how to solve it, here is my textbox HTML
...