OlegK

Forum Replies Created

Viewing 15 replies - 616 through 630 (of 968 total)
  • Author
    Replies
  • in reply to: Sort icons not displayed on IE6 beta #96784
    OlegK
    Participant

    Thank you waiting!

    I mean of cause IE9 beta (tested with IE 9.0.7930.16406). It's a pity that one can not modify the title of the post.

    Best regards
    Oleg

    in reply to: How to do default sorting when grid first time load #96779
    OlegK
    Participant

    Sorry SomethingNew,

    It is very difficult to explain the taste of something without to taste of it. Exactly the same is true if we write something about the code. Why you don't just post the code which you mean?

    What I mean is very easy. Look at this example. One prepare an array with data which include additional 'id' property if it not exist already in the grid. Then create a jqGrid using the data as input. It's all. The data will be automatically sorted and paged. So you have no problem with the sorting and paging of the data after the filling jqGrid with addRowData

    in reply to: icons and text label #96773
    OlegK
    Participant

    You can add searchtext:”Search” parameter in the list of parameters of the navGrid call. For example,

    $('#list').jqGrid('navGrid','#pager',

    in reply to: How to do default sorting when grid first time load #96769
    OlegK
    Participant

    Hi dm,

    I suppose your problem is in the way how you fill the grid. The best way will be the usage of data parameter of the jqGrid. In the way the data filled in the grid will be automatically sorted and the first page of data displayed. So the user can work with the grid in very comfortable way using local sorting by another column as default (column no. 3 in your case), go to another page and searching/filtering of the data. You can use Toolbar Searching if needed and so on.

    If you do want to add the rows in old way with respect of addRowData for example you will have to reload the grid with the code like $(“#list”).trigger(“reloadGrid”); after the grid is full filled

    in reply to: Custom Formatter Parameters #96768
    OlegK
    Participant

    Hello casperd,

    if you post the code example with your custom formatter and explain what which information you want to have additionally in the custom formatter one could explain all more clear.

    Best regards
    Oleg

    in reply to: Get Data from table #96753
    OlegK
    Participant

    Hi,

    you can get array of selected row ids with $(“#list”).jqGrid('getGridParam','selarrrow').

    Look at my old answer and in the example.

    Best regards
    Oleg

    OlegK
    Participant

    Hello julievancouver,

    I don't tested it, but I suppose, that you should set both closeAfterAdd:true and closeAfterEdit:true beacuse the code of Add and Edit will be shared. You can also try to use recreateForm:true which is a standard settings in my code.

    By the way you can change the default settings for this parameters with

    jQuery.extend (jQuery.jgrid.edit, {closeAfterAdd:true, closeAfterEdit:true, recreateForm:true});

    Best regards
    Oleg

    in reply to: JQgrid and Jquery UI Modal Confirmation #96735
    OlegK
    Participant

    Hi rmvenancio,

    first of all you code try to return code [false, …] in all cases, but the main problem is that the $(“#dialog-confirm”).dialog will work

    in reply to: search submit on Enter keypress #96732
    OlegK
    Participant

    Hello Tony!

    I suggestion to change the line https://github.com/tonytomov/jqGrid/blob/master/js/grid.formedit.js#L268 that the code changes work and one can use “Enter” key in the search dialog started from the Navigation bar.

    Best regards
    Oleg

    in reply to: templates for columns in colModel #96731
    OlegK
    Participant

    Hi Tony,

    You don't comment my suggestion about the introducing if templates in the jqGrids. In my opinion it could be a very helpful feature of the jqGrid.

    For example some people want to use right or center alignment in the most columns, other people don't want to have any sortable

    OlegK
    Participant

    Hi ram2010,

    you should just look inside of the source of the demo page which I used. You will see the following code:

    var grid = $("#list");
    var lastSel;
    grid.jqGrid({

    in reply to: jgGrid demo 3.8 Tree Grid data missing #96729
    OlegK
    Participant

    Probably it will be enough for you to look in the tree.xml

    OlegK
    Participant

    Hello Luigi,

    probably you have problem with reloading of grid because you use loadonce:true. See my old answers on the stackoverflow.com: this for example).

    Moreover Luigi I don't give any suport of jqGrid. I am just a user of jqGrid. So if I found my time today to write an answer there are no garantee that I'll do this at morning. I hope you understand me.

    Best regards
    Oleg

    in reply to: Get clicked column id #96719
    OlegK
    Participant

    Hello tunyafix,

    jqGrid don't support in the onSelectRow

    in reply to: error Status * Error code: 501 #96700
    OlegK
    Participant

    Hello izumeroot,

    you can use errorTextFormat event handler to decode the error message sent by the server. HTML code

Viewing 15 replies - 616 through 630 (of 968 total)

Stay connected with us in your favorite flavor!