tony

Forum Replies Created

Viewing 15 replies - 2,821 through 2,835 (of 7,981 total)
  • Author
    Replies
  • in reply to: Where is the “filters” param #93685
    tony
    Keymaster

    Hello,

    Yes the default search is a single search. You missed to see the code on how the multiple Search should be set – in the same example.

    (Instead use multipleSearch set to true)

    Best Regards

    Tony

    in reply to: colspan on grid header column #93684
    tony
    Keymaster

    Hello,

    This feature is not implemented in 3.6 since of the sortable columns feature. When we have colspan and sortable columns we go in big problems.

    Best Regards

    Tony

    in reply to: make one row not editable? #93683
    tony
    Keymaster

    Hello,

    For form edit this is difficult to do, when we have a form with pager elements

    Best Regards

    Tony

    in reply to: rownum not working #93682
    tony
    Keymaster

    Hello,

    local paging and searching will be in the next release 3.7

    Best Regards

    Tony

    tony
    Keymaster

    Hello,

    This is not documented, but.

    1. When we create the form we set a id of the form like this

    in reply to: jqGrid URL calling Spring controller #93680
    tony
    Keymaster

    Hello,

    Sorry I do not understand ????

    Regards

    tony
    Keymaster

    Hello,

    @unknown

    try this instead

    $('#grid_waregroups tbody tr:first').trigger(“click”);

    Note that I replace first-child with firs.

    @Aime

    a gridComplete should be used only. It is quiet possible that in loadComplete the row is selected, but in gridComplete it will be deselected – the setSelection is a toggle function.

    Regards

    Tony

    in reply to: Reload grid after error #93678
    tony
    Keymaster

    Hello,

    For this purpose you can use loadError function something like

    loadError : function(xhr, status, error) {

    // check the error code her and then do

    // trigger(“reloadGrid”)

    }

    Best Regards

    Tony

    in reply to: Changing cell edit when other cell changes? #93677
    tony
    Keymaster

    Hello,

    I'm not sure if this can be done with standart grid methods available.

    One thing that I see is when the value of B cahnges get the current value of field A, then you know the id of the field A – remove the field and recreate it with the new input type using setCell method. Also the avilable edittype should be changed maybe (not sure from what edittype to what edittype is the change)

    Little hard to do instead.

    Best Regards

    Tony

    in reply to: .live(“click”, handler) inside a grid #93676
    tony
    Keymaster

    Hello,

    Which version of jQuery is used?

    Best Regards

    Tony

    in reply to: jqgrid searching #93675
    tony
    Keymaster

    Hello,

    trigger(“reloadGrid”) trigger the grid with the current settings (parameters) without to care what is in the toolbar.

    For this purpose you should:

    1. Either obtain the vaule from the select and set it to the url (not recommended)

    2. Or to use triggerToolbar build in method (recommended) to do the job. It is important to note that triggerToolbar is not called with the standart methods. See her how to use them:

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:toolbar_searching#using_the_additional_methods

    Best regards

    Tony

    tony
    Keymaster

    Hello,

    This is very difficult to do, but not impossible.

    I never try this, but for the formedit add/edit set recreateForm to true, then use beforeInitData event with setColProp to change the edittype text to edittype to textarea and then define onClose event where you put back the edittype to text.

    Best Regards

    Tony

    in reply to: SetColProp does not always update editoptions #93673
    tony
    Keymaster

    Hello,

    Where do you use this?

    Please post your entrie code to see what is happen. If you use this in form edit module, maybe you will need to set recreateForm to true.

    Best Regards

    Tony

    in reply to: position of the caption #93672
    tony
    Keymaster

    Hello,

    If you do not know the common div where all the things are enclosed has a name “gbox_”+ the id of the grid.

    Suppose you grid has id named mygrid, the you can do

    $(“.ui-jqgrid-titlebar”,”#gbox_mygrid”).css(….)

    Hope you get the point

    Best Regards

    in reply to: Strange negatives number in rownumbers #93671
    tony
    Keymaster

    Hello,

    Could you please post your grid configuration for the second grid and the response for it.

    The best is if you provide a link to the problem

    Best Regards

    Tony

Viewing 15 replies - 2,821 through 2,835 (of 7,981 total)

Stay connected with us in your favorite flavor!