tony

Forum Replies Created

Viewing 15 replies - 5,656 through 5,670 (of 7,981 total)
  • Author
    Replies
  • in reply to: # How to live update the grid settings. #86864
    tony
    Keymaster

    Hello,

    Do not undestand. Could you please explain what you try to do.

    Regards

    Tony

    in reply to: Formatter ‘select’ #86863
    tony
    Keymaster

    Hello,

    I'm not sure that I understand you, but the purpose of formatter of type select is to save the consistency of the relationship between the tables.

    suppose you have in the definition

    tony
    Keymaster

    Hello,

    You can use setLabel Method.

    Regards

    Tony

    in reply to: Adjacency Treegrid doesn’t expand #86861
    tony
    Keymaster

    Hello,

    Which version do you use?

    Regards

    Tony

    in reply to: setColumns #86860
    tony
    Keymaster

    Hello,

    Do you have any code for this. I will be glad to publish if it is ok.

    Regards

    Tony

    in reply to: JQGrid data loading performace #86859
    tony
    Keymaster

    Hello,

    Thank you for these investigations and tests. You help me a lot to improve the performance.

    Actually the bad thing in 3.4 and in 3.5 alfa3 is that there are a lot of jQuery operators when adding data to the grid. This slow down the performance a lot.

    I succesed to construct only strings (in my case array) and call jQuery only when the data is appened. I have added two options – load data at once or row by row when we have treegrid, subgrid and afterinsert event.

    In first case the speed is about 10 time fater in the second 3-5 time faster compared to previous

    in reply to: Automatic Searching on Many Fields #86839
    tony
    Keymaster

    Hello,

    I mean after you call the filterGrid. After calling this method you can do

    $(“sg_myfieldfromcolModel”).keydown(function() {

    // use triggerSearch to do the job

    });

    Regards

    Tony

    in reply to: getting value when edittype:”select” #86838
    tony
    Keymaster

    Hello,

    It seems like you use custom editing of the grid data and not the build in form, cell

    in reply to: sort not working #86837
    tony
    Keymaster

    Hello,

    Actually the version is ready for publishing. The problem is documentation.

    Regards

    Tony

    in reply to: Enable/Disable Custom Button on Nav Bar #86836
    tony
    Keymaster

    Hello,

    Which version do you refer? Also in 3.5 there is parameter id – where you can add this for the nav button, so you can easy enable and disable. Not available in 3.4.x versions.

    Regards

    Tony

    in reply to: loading slow #86835
    tony
    Keymaster

    Hello,

    It depends on how many data you load. If you load >1000 – yes there will be a problem. Currently I have succesed a significant speed improvments in 3.5 (not published yet)

    Also in order to resolve the issue please be a more specific.

    Regards

    Tony

    in reply to: set a range for datepicker #86834
    tony
    Keymaster

    Hello,

    What about to ask the developer of this plugin?

    in reply to: editoptions with array #86833
    tony
    Keymaster

    Hello,

    What about to set in colModel

    editrules : { edithidden:true} (refer to docs)

    This way you can edit a hidden field in the form

    Regards

    Tony

    in reply to: XML Format and Cell Editing with Treegrid #86832
    tony
    Keymaster

    Hello,

    Thanks for using jqGrid.

    1. As of the documentation jqGrid does not support attributes in xml (except for the id). Maybe you should switch to xml whitout attributes.

    2. There is no problem to use cellEdit with treeGrid except for the column that is set as expanded. Also this point me to correct this bug.

    3. We already have dellTreeNode method. Adding nodes currently can be a little tricky, since there is no method in jqGrid to do this. In my project I use form editing to add a node with mode – reloadAfterSubmit:true. This way the node is added to the server and reloading the tree put the thingas in right pllace.

    Also I hope to develop addTreeNode method soon. The problem is in nested set model where a lot of calculatins should be done.

    Best Regards

    Tony

    in reply to: Adjacency Treegrid doesn’t expand #86831
    tony
    Keymaster

    Hello,

    Try this

    var mygrid = $(“#grid”);

    mygrid.expandNode(mygrid.getInd(mygrid[0].rows, lastClickedRow, true));

    To getInd we pass 3 parameters – object , rowid and true/false

    in case of true we return the row object in case of false(default) rowIndex.

    Regards

    Tony

Viewing 15 replies - 5,656 through 5,670 (of 7,981 total)

Stay connected with us in your favorite flavor!