OlegK

Forum Replies Created

Viewing 15 replies - 721 through 735 (of 968 total)
  • Author
    Replies
  • in reply to: grouping of XML/JSON data with repeatitems:false in the reader #96084
    OlegK
    Participant

    Hi Tony!

    After downloading releasede version of jqGrid 3.8 I had the same problem which i described before. After debugging I could see that the jqGrid 3.8 not what you write befor or what I suggested. It has a combination of one old line and one new line:

    if(ts.p.grouping && F) {

    in reply to: change Navigator url / form editing parameters dynamical #96068
    OlegK
    Participant

    Hi Jack,

    I am glad to hear that I could help you. The RowVersion was really needed in the exmple for the optimistic locking. I took the example from the project where the data will be hold on the Microsoft SQL Server and every row in the database has additional column with the non-nullable value of the type timestamp (http://msdn.microsoft.com/en-us/library/ms182776.aspx for details).

    On every Edit operation in the jqGrid the value from the RowVersion will be send to the server automatically because the RowVersion column I defined with

    hidden: true, editable: true, editrules: { edithidden: false }, hidedlg: true

    option. So the value could be used for the optimistic locking. To use RowValue also in Delete operation I had to add the RowValue manualy inside of onclickSubmit as I described befor.

    Best Regards
    Oleg

    in reply to: Custom dialog to add row #96060
    OlegK
    Participant

    If you define addfunc function as a part of parameters of navGrid your function will be called instead of jqGrid(“editGridRow”,”new”,pAdd);

    Onother way will be to add:false parameter of the navGrid and add a custom button instead which looks like the add button (has “ui-icon-plus” as icon).

    One more option is to modify existing Add dialog inside of beforeShowForm functions: see my old answer as an example.

    Best regards
    Oleg

    in reply to: Multiselection on multipages Grid #96059
    OlegK
    Participant

    It seems to me that selection is supported only on the the current page. If you need support multiselection over multiple pages you will have to hold the information separately and set selection inside of your custom /jqgridwiki/doku.php?id=wiki:pager#events and my answer on the stackoverflow.com could be helpful for you.

    Best regadrs
    Oleg

    in reply to: change Navigator url / form editing parameters dynamical #96058
    OlegK
    Participant

    First of all you should remove comma after the refresh: “refresh:true,}” if you have the same problem in your code.

    Now to your question. The requirement to use different mtype values I understend good, but having mtype absolute dynamic I don't understend.

    You can overwrite url dynamicaly inside of onclickSubmit function. For example below you can find an example from one of my scripts:

    jQuery(“#gird”).jqGrid('navGrid','#pager_id',

    in reply to: Duplicate row ids when loading from XML #96057
    OlegK
    Participant

    Hello Mark,

    first of all try to remove nested comments from your code (it is not allowed in JavaScript) and remove comma after editurl:

    The code like

    in reply to: Customize the confirmation window #96056
    OlegK
    Participant

    Hello Tom!

    You current code will be run only one time – at the initialisation time when you call 'navGrid' function. I wrote you before that if you want to have dynamic message (if the text will be different at different calls) like you as want you have to do this in beforeShowForm event handle. You can do like following

    jQuery(“#list”).jqGrid('navGrid','#pager',

    in reply to: How to getCell value from custom formatter #96046
    OlegK
    Participant

    The function getCell use formatter to get the value. The formatter test whether the unformatter

    in reply to: Newbie Question: Is there a htmlDecode Example??? #96044
    OlegK
    Participant

    Hello Trober,

    in your question you wrote nothing about inline editing. You asked about the data send from the server. If you load the data from the server then the event function loadComplete will be called where you have access to the original data send from the server.

    If you implement inline edit you call somethere the metheod editRow. You can use aftersavefunc function to see the original data send from the server.

    Best regards
    Oleg

    in reply to: Newbie Question: Is there a htmlDecode Example??? #96040
    OlegK
    Participant

    I would you recommend to use data parameter of loadComplete

    in reply to: Customize the confirmation window #96039
    OlegK
    Participant

    The answer on your question depends on how you use delGridRow: directly of indirectly (per navGrid for example). In general you can include in the list of delGridRow

    in reply to: Custom tooltip on header? #96037
    OlegK
    Participant

    You can use /jqgridwiki/doku.php?id=wiki:methods, /blog/?page_id=393/feature-request/adding-title-attribute-to-grid-table-headers/, /blog/?page_id=393/help/custom-tooltiptitle-in-row/

    in reply to: view form with more fields than in table #96036
    OlegK
    Participant

    Hi Gert!

    You can try to use

    in reply to: Aligning columns. #96035
    OlegK
    Participant

    jqGrid, like Excel for example, supports column width which is the same for the same cells and the header. If you adjust the column width with respect of the mouse you change the width for the whole column: headers and cells. Its the only behavior supported in jqGrid. What you suggest seems for me, that the column header will be over the next column and the look of the whole grid after the changed column will be wrong.

    Regards
    Oleg

    in reply to: Q: Freezed or fixed columns ? #96034
    OlegK
    Participant

    Currently the feature is not yet implemented in jqGrid. On the main jqGrid page http://www.trirand.com/blog/

Viewing 15 replies - 721 through 735 (of 968 total)

Stay connected with us in your favorite flavor!