tony

Forum Replies Created

Viewing 15 replies - 3,706 through 3,720 (of 7,981 total)
  • Author
    Replies
  • in reply to: Add datepicker as datatype #91798
    tony
    Keymaster

    Hello,

    There is no problem to do this, but diffrent peopple use diffrent datepickers. Moreover we make the grid so that it is not dependant on jQuery UI.

    Best Regards

    Tony

    in reply to: How can I get the editOptions defined when calling navGrid #91797
    tony
    Keymaster

    Hello,

    Define the editoptions like this

    var editoptions = { … here all edit options};

    then you can easy call

    $(“#mygrid”).navGrid('pager',{…},{}, editoptions,…);

    and

    $(“#mygrid”).editGridRow(rowid, editoptions);

    Regards

    Tony

    in reply to: closeOnEscape #91796
    tony
    Keymaster

    Hello,

    Thanks. It is a bug. The fix will not be so easy, so it will be availabe for the next release.

    Best Regards

    Tony

    in reply to: column chooser #91795
    tony
    Keymaster

    Hello,

    Thank you very much for this.

    The bug is fixed. Will be published tommorow in GitHub.

    Best Regards

    Tony

    in reply to: Search is not working in jqgrid #91794
    tony
    Keymaster

    Hello,

    jqGrid does not have nothing to do with the server side code.

    Instead that I do not understand ASP, I do not see a code where you accept the parameters posted from grid and then perform the search based on these parametrs and return the appropriate result.

    Best Regards

    Tony

    in reply to: gridComplete don’t fire after sorting #91793
    tony
    Keymaster

    Hello,

    Thanks. Also I have fixed this – will publish the fix tomorrow in GitHub

    Best Regards

    Tony

    in reply to: Custom formatter rowObject missing second time around #91792
    tony
    Keymaster

    Hello,

    Just tested your example and everthing work ok for me.

    The only think you should know is: if the field is not editable the formatter is not called at all.

    If the field that contain the formatter is editable to the formatter is passed the array only of the editable fields and not the all one.

    Regards

    Tony

    in reply to: Editable ID #91759
    tony
    Keymaster

    Hello,

    There is change for this in GitHub. Also we need to test it more deeper.

    Basically I introduce idName parameter in grid parameters and there is a change in form editing for this purpose.

    If you want you can grab the code and test it.

    Thanks

    Tony

    in reply to: json reader #91758
    tony
    Keymaster

    Hello,

    Set repeaitems to true. Please read the docs before posting

    http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data

    Regards

    Tony

    in reply to: delRowData bug on Grid with Multiselect #91757
    tony
    Keymaster

    Hello,

    First of all thanks for this. Also I do not consider your problem deeper, so sorry for this.

    The problem is not in delRowData.

    Let consider what is happen:

    1. You call getGridParam with selarrrow. The method direct return this array.

    In other words recs is reference to selarrrow

    2. You use this reference direct in the delRowData, but delRowData decreases the selarrrow (i.e the recs which is reference)

    3. After every loop you have one elment little.

    So to solve the problem I have modified the getGridParam

    I will publish the fix soon. Need more testing.

    Thanks again

    Best regards

    Tony

    in reply to: ‘$.jgrid.formatter.integer’ is null Error #91745
    tony
    Keymaster

    Hello,

    How look your server response. Maybe you missed some item like page, total and etc.

    Check this. The formatter uses this information.

    Regards

    Tony

    in reply to: problem form editing for ClientArray #91742
    tony
    Keymaster

    Hello,

    You can do it without any cahges into the code.

    You will need just to create a dummy empty file on the server and set the editurl to this file and you will have the desired result.

    Regards

    Tony

    in reply to: jgrid not displaying data #91741
    tony
    Keymaster

    Hello,

    If you read my previous post you will see that this is not needed- i.e your code for JSON.parse

    Regards

    Tony

    in reply to: Custom fonts and colors for cells #91740
    tony
    Keymaster

    Hello,

    Basically you are in the right direction.

    In the optins parameter you have the id of the row. So it can be something like

    function highlight (cellvalue, options, rowObject)

    {

    if(cellValueInt < 600) $("#"+options.rowId).addClass("redclass")

    else $(“#”+options.rowId).addClass(“blueclass”)

    return cellvalue

    }

    Regards

    Tony

    in reply to: ‘$.jgrid.formatter.integer’ is null Error #91739
    tony
    Keymaster

    Hello,

    It seems like you do not have included in the download the formatter module.

    Open the jqGrid min file and see at top which modules do you have.

    Regards

    Tony

Viewing 15 replies - 3,706 through 3,720 (of 7,981 total)

Stay connected with us in your favorite flavor!