OlegK

Forum Replies Created

Viewing 15 replies - 586 through 600 (of 968 total)
  • Author
    Replies
  • in reply to: autowidth+grupping bug #96869
    OlegK
    Participant

    Probably the bug and another more heavy bug described in the post

    OlegK
    Participant

    Hello Tony!

    I made some more tests and improved my suggestion to have full support of the DateTime .NET format used by Microsoft for serialization in WFC, ASP.NET MVC or ASMX Web Services (so in all kinds of JSON DateTime serialization). The serialized format of DateTime class is described in the section “DateTime Wire Format” of http://msdn.microsoft.com/en-us/library/bb412170.aspx.

    The corresponding changes in the jquery.fmatter.js can be following. The lines 142-146

    if(date.constructor === Number) {

    in reply to: Setting contentType for form edit #96865
    OlegK
    Participant

    Look at edit form settungs. I recommend you to change the settings for all edit/add form dialogs in the following way:

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

    Best regards
    Oleg

    in reply to: Setting contentType for form edit #96863
    OlegK
    Participant

    Look at here

    in reply to: pager button size #96860
    OlegK
    Participant

    The pager

    has LAGRE icons 32

    in reply to: hide and columns #96856
    OlegK
    Participant

    Hi Elie,

    in the answer from the second link which I posted you before I do almost the same thing which you asked me. The code like the following

    var cm = grid.jqGrid('getColProp','email');
    cm.editable = false;
    cm.sortable

    in reply to: hide and columns #96853
    OlegK
    Participant

    Hi Elie,

    I hope you find the answer on your question here or here

    in reply to: pager button size #96850
    OlegK
    Participant

    Yes in the way you can receive what you need. Just to verify my suggestion I included in my other jqGrid example the following CSS


    in reply to: pager button size #96848
    OlegK
    Participant

    jqGrid just used elements which the CSS classes ui-icon,ui-icon-seek-first,ui-icon-seek-prev,ui-icon-seek-next and ui-icon-seek-end

    in reply to: Using function, in place of editurl? #96844
    OlegK
    Participant

    editurl as a function is not supported. You should use 'clientArray' in case of inline editing. Form editing had not full support of local editing. Probably now?

    in reply to: Using function, in place of editurl? #96842
    OlegK
    Participant

    Sorry jdege,

    but I don't agree with your statements about the complexity. If you rename one file so that it has just correct extension ASMX, you code

    [WebMethod()]
    [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
    public static MyData getMyData(Dictionary postData)
    {

    OlegK
    Participant

    Sorry dm,

    but the information which you posted is not sufficient to make any tests. I am enable reproduce your problem based on the information. You should prepare full example and not post only the definition of one column, some of jqGrid parameters and no test data. Till now I don't know which version of jQuery UI you use. Moreover I recommend you to use more

    in reply to: How to update hidden cell #96836
    OlegK
    Participant

    Consider to use get/set of the data parameter of the jqGrid. It holds all the data of the local grid. The corresponding code can be about following

    var mydata = $('#list').jqGrid('getGridParam','data');

    After modification of the grid data with respect of $('#list').jqGrid('setGridParam','data',mydata) refreshing of the internal grid's indexes with the code $(“#list”)[0].refreshIndex() can be needed (see this for more detailes).

    Best regards
    Oleg

    OlegK
    Participant

    Hello Klaus,

    I personally don't like to use addRowData method because it makes impossible to use gridview:true

    in reply to: format link for url rewriting #96831
    OlegK
    Participant

    Hello Joris,

    The predefined formatter showlink is not perfect. It is very easy to write your own custom formatter which produce exact HTML code fragment for the link format which you need.

    In both cases the function which you can call in the way must be global. If you prefer concept of unobtrusive JavaScript you can use predefined formatter

Viewing 15 replies - 586 through 600 (of 968 total)

Stay connected with us in your favorite flavor!