Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Y

yadta

@yadta
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • JqxTree control is taking time to load with 500 records
    Y yadta

    It is taking around 3-4 seconds to load 500 records which is very slow as it is hampering my app performance.

    var source = { datatype: "json",
    datafields: [ { name: "Rid", type: "int" },
    { name: "ParentRid", type: "int" },
    { name: "Name", type: "string" },
    { name: "Text", type: "string" } ],
    id : "Rid",
    localdata : dataSource,
    async: true,
    hasThreeStates: false };

    var dataAdapter = new $.jqx.dataAdapter(source);
    dataAdapter.dataBind();

    var records = dataAdapter.getRecordsHierarchy("Rid", "ParentRid", "items", [{ name: "Text", map: "label" }, { name: "Rid", map: "value" }, { name: "Name", map: "Name" }]);

    $("#jqxtree").jqxTree({ checkboxes: true, source: records, width: '100%', height: 220 });
    

    I want to load 'JqxTree' control in such a way that other things won't wait for it to load. Is there any way in the jQuery to load 'JqxTree' control in the background?

    Or something we can do which won't affect performance of whole application

    JavaScript javascript json performance question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups