OlegK

Forum Replies Created

Viewing 15 replies - 931 through 945 (of 968 total)
  • Author
    Replies
  • in reply to: Form editing add row, use ‘0’ instead of ‘_empty’ #92881
    OlegK
    Participant

    Hi!

    First of all about serializeEditData(). If you look inside of postIt() you can see

    $.ajax( $.extend({

    in reply to: headers with vertical orientation #92869
    OlegK
    Participant

    Hello Tony!

    Thank you very much! Now I understand that the problem can be solved. I made some more experiments and find strange behaviors.

    First of all, your example looks like very good in IE6 and Firefox 3.6. IE8 seems have several bugs, but if one set property (margin-left and margin-bottom) on column headers dynamically, different value per column, one could receive more readable results. Nevertheless texts will be cut in IE8 like I describe in my previous post.

    Because currently I create a solution for customer, where almost IE6 used, I tried to reproduce you results. But I find interesting and strange things. I receive very good results in IE6, but bad results not only in IE8, but also in Firefox 3.6:

    in IE6 we can see:

    Test_in_ie6.png

    in Firefox 3.6:

    Test_in_firefox36.png

    in IE8:

    Test_in_ie8.png

    Moreover, I find by the way a real bug in sortable column headers in current version of jqGrid. If one drag last column header on another place in any browser (IE6, FF36, IE8) one receive wrong headers:

    SortableBug.png

    Have you an idea what is different in my and your example?

    The code of my examples with the last version of jqGrid from http://github.com/tonytomov/jqGrid/tree/master you can download from http://www.ok-soft-gmbh.com/VerticalHeaders/VerticalHeaders.zip. Here is the html code of my test:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;
    <
    html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <
    head id=”Head”>

    in reply to: Form editing add row, use ‘0’ instead of ‘_empty’ #92814
    OlegK
    Participant

    Hi, jackysee!

    If you want to send to server id=0 instead of id=_empty, I'll recomend you use serializeEditData. As input serializeEditData receive data, which jqQuery plan to send. You can construct another data based on input data and return it. Using serializeEditData you don't modify any internal jqGrid data, so you have no side effects compares with any kind of data modification inside of onclickSubmit.

    Best regards
    Oleg

    in reply to: Pagination, Search does not work. Please help #92811
    OlegK
    Participant

    Good question! I could recommend Fiddler (http://www.fiddler2.com/fiddler2/) and Firebug (http://getfirebug.com/). There are plugins for different Browsers from this tools.

    Regards
    Oleg

    in reply to: Pagination, Search does not work. Please help #92809
    OlegK
    Participant

    Hi!

    jqGrid automatically append Url from “url” option of jqGrid with additional parameters “page”, “rows”, “sidx”, “sord” and sometimes more depend on the context, so the request to server looks like myurl.php?page=1&rows=10&sidx=myindex&sord=asc (where myurl.php is like “fundreports/TransmittedLoan.action” in your case). Your server should of cause send back corresponding data based on this additional parameters. Searching of data works in the same way.

    For more information read /jqgridwiki and example of PHP server code on /jqgridwiki/doku.php?id=wiki:first_grid).

    Best regards
    Oleg

    in reply to: My edit form is not draggable and resizable #92804
    OlegK
    Participant

    Hi, phamtranquocviet!

    The error is probably in the part of you code, which you not describe here. In my code, for example, everything works OK. If you prepare a small html/javascript code without any server code (you can set datatype to 'local' or 'clientSide' and fill table with at least one row of test data with respect of addRowData). So one could be easy localize and fix you problem.

    Best regards
    Oleg

    in reply to: Editable checkboxes #92802
    OlegK
    Participant

    Hi!

    I implement switching in edit mode inside of ondblClickRow and have no problem. The code can looks like following:

    var lastSel = -1;
    var grid = jQuery('#list').jqGrid({

    in reply to: headers with vertical orientation #92777
    OlegK
    Participant

    Hello,

    sorry Tony, I could not find in jQuery UI tabs or somewere else in jQuery UI vertical oriented textes.

    In the most examples which I found before, which works in IE 6 and above, are based on “writing-mode: tb-rl” style and some “filter” like “filter: flipv fliph” or “filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3)”. If one use “writing-mode: tb-rl” without any “filter” the text is displayed as vertical, but it has not exact the orientation which I'd prefer. The mode “writing-mode: tb-rl” is probably introduced for japanese textes, so such orientation. Textes with a “filter” style has correct orientation can be bad zoomed in inside of IE 8. But it is not my main problem. I write about this problem in jqGrid forum, because my main problem currently is the cutting of textes inside jqGrid header. See

    vert1.png

    Best regards

    Oleg

    in reply to: small bug in grid.jqueryui.js and ui.multiselect.js #92735
    OlegK
    Participant

    Hi Tony!

    Only short additional information. Just downloaded jQuery UI 1.8rc2 with jQuery 1.4.2 (from http://blog.jqueryui.com/2010/&#8230;..-ui-18rc2/) and tested everything here written one more time. Everything still works exactly as unter jQuery UI 1.8rc1 and jQuery 1.4.2.

    Corresponds to just published the widget factory section of the Upgrade Guide to fix problem with $.ui.multiselect.defaults it is recomended to start

    $.widget(“ui.multiselect”, {

    in reply to: small bug in grid.jqueryui.js and ui.multiselect.js #92727
    OlegK
    Participant

    Hi Tony!

    I’ll try to summarize me experience and suggestions to make columnChooser function from grid.jqueryui.js and ui.multiselect.js working with jquery-1.4.1 and jquery-ui-1.8rc1.

    First of all, me previous suggestion to set mopts.dividerLocation to it’s default value was based on the exception inside of _init function of ui.multiselect.js in the lines 47-48:

    in reply to: headers with vertical orientation #92725
    OlegK
    Participant

    timestamp of my last post was not changed in the topic headers. As the last modification date of the topic stay 14/02/2010 by Les. To fix the problem only I post this message.

    in reply to: Adding title attribute to Grid Table Headers #92724
    OlegK
    Participant

    Hi Klaus!

    I find your idee very good! I have a lot of tables with a long header and short contain. So I choose a short width for such columns, but place tooltips generaly on all headers of jqGrid columns. To do so, I use following own small function:

    Testportal.setTooltipsOnAllColumnHeaders = function(grid) {

    in reply to: Bug in columnChooser in IE #92718
    OlegK
    Participant

    <!– /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; font-size:11.0pt; font-family:"Calibri","sans-serif";} p.MsoHeader, li.MsoHeader, div.MsoHeader {mso-style-link:"Kopfzeile Zchn"; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} p.MsoFooter, li.MsoFooter, div.MsoFooter {mso-style-link:"Fu

    in reply to: Bug in columnChooser in IE #92717
    OlegK
    Participant

    Hi Tony,

    thank you very much for the quick fixing of the problem.

    Deleting of the post, if server hosting forum works so instable like today, can I good understand. I'll post the same text one more time without any problem, because I have a copy an WinWord document. It's mostly important, that you made a fix for the problem.Smile

    Your solution to replace from a.splice(i) to a.splice(i,Math.max(perm.length-i,i)) inside of insert function looks like easy, but I could not find the corresponding place. (Perhaps, the reason is that you know code of jqGrid better as me Laugh). Thanks one more time.

    I found some more small problems in columnChooser function after using it together with jquery-1.4.1 and jquery-ui-1.8rc1. I'll describe my suggestions later (I hope today yet).

    Best regards

    Oleg

    problem
    in reply to: headers with vertical orientation #92657
    OlegK
    Participant

    Sorry Les, I didn't find a solution of my problem on http://highcharts.com/demo/?example=column-rotated-labels&theme=default. On the page there is only some vertical text displayed. But the same page will be constructed in the different way for different browsers. For Firefox will be used CSS like

    position: absolute; left: -30px; white-space: nowrap; bottom: 227px;

Viewing 15 replies - 931 through 945 (of 968 total)

Stay connected with us in your favorite flavor!