OlegK

Forum Replies Created

Viewing 15 replies - 286 through 300 (of 968 total)
  • Author
    Replies
  • in reply to: Reload Grid do not clear search toolbar – with example #99037
    OlegK
    Participant

    Hello!

    I hope, that I found the bug. The problem is that in

    in reply to: setGroupHeaders error in case of “resizable: false” #99013
    OlegK
    Participant

    Hello Tony,

    I really mean the line 694. The line 683 selects “span.ui-jqgrid-resize” and the column having resizeable: false don't have the “span.ui-jqgrid-resize”. The line 692-697 should be the following

    $htable.find("div.ui-jqgrid-sortable").each(function () {

    in reply to: Page 1 of NaN in case of length of XML data is 0 #98982
    OlegK
    Participant

    Hello Tony,

    the described bug is still not fixed in the jqGrid 4.2.0. Do you forget about this or do you think that it's not needed to fix the problem?

    Moreover I think, that it would be very practical and simple to allow to use functions (metods) inside of xmlReader. The implementation will be simple enough, but it would gives the user the same power to read practically any XML data like one can do this with JSON data. The usage of attributes instead of elements to represent the value of columns can be also easy possible in the way.

    What is your opinion about this?

    Best regards
    Oleg

    in reply to: cell editing of grid having subgrids as grid #98981
    OlegK
    Participant

    Hello Tony,

    the fixed demo

    in reply to: drang and drop not working since /jqueryui/1.8.13 #98941
    OlegK
    Participant

    Hello yvon,

    how I recently answerd in the answer on the same question the problem can be fixed by modifieing of the code of the lines 372-373 of grid.jqueryui.js

    in reply to: Icons not loading in navigation #98932
    OlegK
    Participant

    You should change the lines
    });
    jQuery("#list").jqGrid('navGrid','#pager',{edit:true,add:true,del:true});

    at the end of the script to
    jQuery("#list").jqGrid('navGrid','#pager',{edit:true,add:true,del:true});
    });

    in reply to: saveRow() – how to send “real” id? #98834
    OlegK
    Participant

    Typical origin for the problems which you describe are wrong filled jqGrid. If the input (JSON or XML data) of jqGrid has no id information or has the information, but in wrong way, jqGrid use integers 1,2,3… as the row ids. So I recommend you to verify how you fill the grid.

    Regards
    Oleg

    in reply to: ASP.NET MVC JQGrid error on binding…. #98820
    OlegK
    Participant

    It seems to me that you posted the issue in the wrong forum. It can be that you have WCF or MVC problem. In the case you can post you question on http://stackoverflow.com/

    OlegK
    Participant

    Hello Tony,

    if jqGrid has the problem with two last recent versions of jQuery 1.6.3 and 1.6.4jqGrid have to be changed to fix the problem.

    I am not so pessimistisch in the size of changes. The problem exists only in the parts of code where the data can be changed. So it is just some places in multiselect and editing.

    For example in the form editing one have to fix the line 360

    if($(this).attr("checked")) {
    to
    if (this.checked) {
    The line in the inline editing I posted before. In grid.celledit.js the line

    in reply to: Right mouse click detection in jqgrid #98811
    OlegK
    Participant

    Take a look in the jqGrid documentation. There are onRightClickRow event which you can use.

    Regards
    Oleg

    in reply to: Help PLEASE with grandtotal / userData !!! #98810
    OlegK
    Participant

    You use

    in reply to: MVC 3 Razor Sample #98805
    OlegK
    Participant

    I can suggest you to download the demo project from the answer and this one. In the example, like in most other examples, will be used empty “

    ” element. So it stay the same if you use or not Razor View. I hope you will find in the example the things which you can use.

    Best regards
    Oleg

    in reply to: afterCheckValues event needed #98803
    OlegK
    Participant

    Hello Ivan,

    I agree with you that it is a problem.

    Look at the demo which I wrote for the answer. It shows how you can overwrite the standard $.jgrid.checkValues function and do some additional actions. The example uses inline editing, but you can easy modify it for the form editing.

    I can add that one more important problem is that the field validating will be broken at the first error found. If one mark the fields having errors one can validate all fields. In dialog haveing many field it can improve the user expirience.

    As the workaround I could suggest you to use beforeSubmit event. If you would returns from your version of $.jgrid.checkValues allways true, but set some error flag (varible), you can test the flag in your beforeSubmit

    in reply to: Support an “All” option for the rowList parameter #98802
    OlegK
    Participant

    Hello!

    I agree with you. The same requirement have the most customers. The usage of “-1” is not allowed and can't be used, but one can use some large enough value and

    OlegK
    Participant

    Hello!

    Here I describe an workaround for the closeAfterReset setting.

    Best regards
    Oleg

Viewing 15 replies - 286 through 300 (of 968 total)

Stay connected with us in your favorite flavor!