tony

Forum Replies Created

Viewing 15 replies - 5,416 through 5,430 (of 7,981 total)
  • Author
    Replies
  • in reply to: cell formatting on edit #87344
    tony
    Keymaster

    Hello,

    If you use the buil in jqGrid formatter:'currency' jqGrid will do the job for you if you edit the value. Since I suppose you value is formatted server side you can look here in order to do the things.

    http://www.trirand.com/blog/?page_id=18/help/custom-format-function-and-edit-actions/page-1

    Regards

    Tony

    in reply to: Client-side Paging #87343
    tony
    Keymaster

    Hello,

    Not in 3.5 release, but in the next.

    Regards

    Tony

    in reply to: Custom format function and edit actions #87342
    tony
    Keymaster

    Hello Marcel,

    If you use custom formatter you should custom unformat the value when you edit. If you use the inline editing I think the best place for this is to use datInit event in edit options in colModel.

    dataInit : function (elm) {

    // here the code to remove the span if available in the input elm value

    }

    Also I found a little bug, so you will need to download the latest code from GitHub.

    Best Regards

    Tony

    in reply to: Table in IE empty #87341
    tony
    Keymaster

    Hello,

    In FireFox, Safari and Chrome browsers I see wrong German charcters (umlauts and others), which mean that you server side code does not send the appropriate headers.

    In IE is not working at all.

    Also please be sure.

    1. html page is utf-8

    2. your database is utf-8 and before the query you do (in MySQL)

    SET NAMES utf8

    3. use the header in php to send the utf 8

    Best Regards

    Tony

    in reply to: set cell value to empty #87339
    tony
    Keymaster

    Hello

    or null or ' ' 😉

    Regards

    Tony

    in reply to: Local Array and rowid #87338
    tony
    Keymaster

    Hello Romyn,

    Thanks again for your investigationns.

    Also you are right there is a problem when we want to insert rowid = 0 in addRowData method. Also corrected in GitHub. Thanks.

    Now about your problem.

    IMHO it is a good idea in your case to have a global counter for the length of the rows in the grid. That is after you insert the data you can do

    mycounter = myarray.length, where the myarray is a data added in the grid.

    Then you can use afterSubmit event like this

    afterSubmit : function (data, postdata) {

    mycounter++;

    return [true,””,myconter];

    }

    This way you will have in all cases uniquie id instead that you delete something from the grid.

    Best Regards

    Tony

    in reply to: Problem with Integrated Search Toolbar #87337
    tony
    Keymaster

    Hello,

    Not sure what you do, but the exactley same example is on the demo page and it works ok. Also could you please post the entry colModel?

    Where you check that _search paremeter is false – server side or in FireBug?

    Regards

    Tony

    in reply to: rtl (right to left text direction) support #87336
    tony
    Keymaster

    Hello,

    Thanks Shuki. This will be the first thing for the release after 3.5. Maybe I will ask you to thest some thinds if you want of course.

    Regards

    Tony

    in reply to: sorting using jsonstring , form edit with 3.5 #87335
    tony
    Keymaster

    Hello,

    This will not work if you settings reloadAfterSubmit is set to true. It is some task for you why is this happen 🙂 (it is all connected with the way that you call trigger in afterSubmit)

    I recommend you to use afterComplete event in form editing to sort the new inserted row – i.e call trigger(“reloadGrid”) in this event

    Regards

    Tony

    in reply to: Problem with multiselect #87334
    tony
    Keymaster

    Hello,

    How do you construct the grid when you destroy and load it agin. Do you use gridImport?

    You should not comment anything. Be a sure that you have the right css file and this file is loaded correct.

    Regards

    Tony

    in reply to: How to modify the title of edit row form #87333
    tony
    Keymaster

    Hello,

    Check the parameters for the addRow, delRow and searchGrid methods. There is such option. Also if you want this to be globally you can set these in the language file using extend.

    Regards

    Tony

    in reply to: Header and body are not aligned #87332
    tony
    Keymaster

    Hello,

    This is one of the bugs in 3.4 version. Also I recommend you to switch to 3.5, where this behaviour is corrected.

    Regards

    Tony

    in reply to: 3.5 – Limited Rows #87331
    tony
    Keymaster

    Hello,

    Yes, only one page is dispalyed. That is the main purpose of the pager.

    Also local paging currently is not supported.

    in reply to: How to delete jqgrid #87330
    tony
    Keymaster

    Hello,

    These methods are in grid.custom.js – enable this module in the loader

    Regards

    Tony

    in reply to: Getting grid to show up #87329
    tony
    Keymaster

    Hello,

    If you use 3.5 check the install.txt, if you use 3.4 check the installition notes in the documentation page.

    Regards

    Tony

Viewing 15 replies - 5,416 through 5,430 (of 7,981 total)

Stay connected with us in your favorite flavor!