jaychandra

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Author
    Replies
  • jaychandra
    Participant

    Hi,

    Sorry for late reply. Please see the my comments in below stack-overflow question for your question.

    https://stackoverflow.com/questions/67956488/adding-a-child-node-to-the-first-root-node-showing-as-last-row-in-guriddo-treegr

     

    Thanks & Regards,

    Jay

     

    • This reply was modified 3 years, 6 months ago by jaychandra.
    in reply to: How to specify timezone for date fields? #127573
    jaychandra
    Participant

    Hi,

    In my above comments(2nd), is there any way to suppress “0” from datetime value?

    Thanks & Regards,

    Ram

    in reply to: How to specify timezone for date fields? #127572
    jaychandra
    Participant

    Hi,

    Thanks for your reply with good explanation.

    I tried with all 3 options and below are my comments/observations. Also, srcformat: ‘U’ and srcformat:‘U/1000’ both are working for me.

    1. With first option, it is adding 5:30 hours to date value.
    2. Second solution perfectly working except adding “0” at the end of datetime value.
    3. With third option, If I use srcformat: ‘U’, yielding incorrect date like “53099-03-15 13:03:20 GMT+0530″
    4. But If I use srcformat:‘U/1000’ with 3rd option, showing datetime correctly.

    Thanks & Regards,

    Ram

    jaychandra
    Participant

    Thanks Will for this solution. I will try this.

     

    Thanks & Regards,

    Jay

    in reply to: inline editing with Boolean objects #127065
    jaychandra
    Participant

    Hi,

    Thanks for the docs. This is what I was looking for. This unformat function working for custom formatter fields to send the original value while editing.

    I have another question:

    not able to send the value of non-editable columns to server. Suppose, my colModel contains 5 columns , among those I enabled editable option(editable: true) for only 4 columns and disabled for one column. For this non-editable column, it is passing as “null” value to server after edit and submit for all rows. Please provide any docs or solution for this.

     

    Thanks & Regards,

    Jay

    in reply to: inline editing with Boolean objects #127058
    jaychandra
    Participant

    Hello,

    Apologies for late reply as engaged with other important tasks. Having this issue only when I use formatter to that field. I tried without formatter, passing same grid value to server.

     

    Thanks & Regards,

    Jay

    in reply to: inline editing with Boolean objects #127043
    jaychandra
    Participant

    Thanks & Regards,

    Jay

    • This reply was modified 5 years, 11 months ago by jaychandra.
    in reply to: Search Param names at Server side #126324
    jaychandra
    Participant

    I am able to get grid param names like below at server side after making changes as per demo example.
    jsonstring:{“groupOp”:”AND”,”rules”:[{“field”:”ruleName”,”op”:”bw”,”data”:”F”}]}

    Thanks, please close this post as resolved.

    in reply to: Search Param names at Server side #126323
    jaychandra
    Participant

    Below is the grid code:

    $(“#ruleTable”).jqGrid({$(“#ruleTable”).jqGrid({    url: u,        datatype: “json”,        jsonReader: {repeatitems: true, id: “ref”},        colNames:[‘ID’, ‘Rule’,’Description’,’Business Process’, ‘Sub Process’, ‘Type’],        colModel:[            {name :’id’,index:’id’, hidden:true, index : ‘id’, editable : false, key:true},            {name:’ruleName’,index:’ruleName’, formatter: ruleHyperLink},            {name:’ruleDescription’,index:’ruleDescription’},            {name:’businessProcess.name’,index:’businessProcess.name’},            {name:’subProc.name’,index:’subProc.name’},            {name:’ruleType.name’,index:’ruleType.name’}        ],        autowidth: true,        rowNum:10,        rowList:[10,20,30,50,100,150,200],        height:250,        pager: “#pagingDiv”,        viewrecords: true,        caption: “”,        multipleSearch: true,    multiselect:true,    shrinkToFit:true    }); $(“#ruleTable”).jqGrid(‘navGrid’,’#pagingDiv’, {search:true,add:false,edit:false,del:false,refresh: true,multipleGroup:true,}); $(“#ruleTable”).jqGrid(‘filterToolbar’,{stringResult: true,searchOnEnter : false}); $(“#deleteRule”).click(deleteRuleFunc); $(“#ruleTable”).jqGrid(‘navButtonAdd’, ‘#pagingDiv’,        { caption: “”, buttonicon: “ui-icon-gear”,    title: “Choose Columns”,    onClickButton: function() {     jQuery(“#ruleTable”).jqGrid(‘columnChooser’);    }  });

Viewing 9 replies - 1 through 9 (of 9 total)

Stay connected with us in your favorite flavor!