tony

Forum Replies Created

Viewing 15 replies - 7,471 through 7,485 (of 7,981 total)
  • Author
    Replies
  • in reply to: Grid does not update properly #82926
    tony
    Keymaster

    I think that you should check the response from the server in this case. If the grid loads correctly first time, this mean that something is wrong with the code at the server.

    in reply to: sorting date values with alternative display format #82925
    tony
    Keymaster

    David,

    Thank you for this. One of the big difference between jqGrid and others is the speed. This property is at first place. But having this we do not have a ton of other properies that nobody will use. We have a methods for customising this – i.e with a little programing you can achieve this. I recommend you to use afterInsertRow event and setCell method. The only thinng that you should do is to write your own date formater. The code should something like this:

    afterInsertRow : function(rowid, datarow) {

    // here is the code to format your date something like

    mynewdate = customfunc(datarow.mydate);

    $(”#mygrid”).setCell(rowid,'mydate',mynewdate);

    }

    The clear solution here is that the date should be formated server side

    Now about the sorting. Currently jqGrid support sorting of dates only if they are numbers. I think that this shuld be corrected and mybe will be done soon.

    Best Regards

    Tony

    in reply to: Select all on multiselect #82924
    tony
    Keymaster

    Sorry about this, but I reccomend you first to read the documentation

    Best Regards

    Tony

    in reply to: Default options, multiselect, extend #82923
    tony
    Keymaster

    I think that we should support a wide range of possibilities. By example in my project I want to have in all grids this option rowList:[10,20,30], but in particular page I do not want this. Setting the rowList as common option have sence in relative big project, but what to do in a particular case when I do not want this? I think that this have sence. What do you think?

    Best Regards

    Tony

    in reply to: DB Lookup for select box. #82921
    tony
    Keymaster
    in reply to: Dynamic scrolling #82920
    tony
    Keymaster

    It is allready setted, but it requeres a more inteligent rendering engine.

    Imagine if you have more that 5000 records in the table – in this case

    you memory will be out.

    If you look at scrollGrid function you will have a idea haw this can be done

    Regards

    Tony

    in reply to: Default options, multiselect, extend #82919
    tony
    Keymaster

    But there is a big problem with this in your case:

    $.extend($.jgrid.defaults,{rowList:[10,20,30]});

    $(“#mygrid”).jqGrid({

    …..

    rowList: [],

    ..

    });

    rowList remain [10,20,30]

    You can test this.

    That means that the current settings of the grid are overwriten.

    Maybe I will disable this in next release.

    in reply to: local data array example #82918
    tony
    Keymaster

    If I set the debugger to the first line of jquery.js it does not stop.

    Yes there is a something strange here. Please to be ensure that

    all is ok. First load jquery and put something simple and see if this

    work. Then step by step include the modules

    Regards

    Tony

    in reply to: Version 3.2.1 scroll in firefox #82916
    tony
    Keymaster

    Not sure if this will help, but try to add height:auto to the element

    in reply to: Version 3.2.1 scroll in firefox #82914
    tony
    Keymaster

    Changing dynamically the width of the grid (after they is constructed) currently is not recomended.

    in reply to: Version 3.2.1 scroll in firefox #82912
    tony
    Keymaster

    Do you have put any special content whitin grid?

    in reply to: Version 3.2.1 scroll in firefox #82909
    tony
    Keymaster

    With 100% height vericall scrollbar should not apper either in FF and IE

    in reply to: Version 3.2.1 scroll in firefox #82907
    tony
    Keymaster

    Do you use 100% height?

    in reply to: Problems with array data and pager #82906
    tony
    Keymaster

    Yes this is in to do list

    Regards

    Tony

    in reply to: local data array example #82905
    tony
    Keymaster

    Hello,

    Humm this is very strange. Could you please test whitout to use adding data. I mean disable this piece of code

    var mydata = [
    {county:”Putnam”,entity:”Carmel”,year:”2007″,count:”325″},
    {county:”Rockland”,entity:”Hillburn”,year:”2008″,count:”16″},
    {county:”Westchester”,entity:”Yonkers schools”,year:”2008″,count:”4285″}];
    for(var i=0;i<=mydata.length;i++)
    $(”#list4″).addRowData(i+1,mydata);

    Regards

    Tony

Viewing 15 replies - 7,471 through 7,485 (of 7,981 total)

Stay connected with us in your favorite flavor!