tony

Forum Replies Created

Viewing 15 replies - 5,836 through 5,850 (of 7,981 total)
  • Author
    Replies
  • in reply to: How to get updated list into surl for select? #86416
    tony
    Keymaster

    Hello,

    Yes this only once. In order to update the list you should make your own code to obtain the values from server and set it in the searchFilter.

    Another possible solution is to empty the filter and create it agian.

    Regards

    Tony

    in reply to: serach problem in asp #86415
    tony
    Keymaster

    Hello,

    In which portion this does not work? I see multiple calls to filterGrid (one is commented and you have only object here)

    Regards

    Tony

    in reply to: Where to sdd a click function for a href link #86413
    tony
    Keymaster

    Hello,

    You can add click in afterInsertRow too. Just after setCell add this and it will work.

    Regards

    Tony

    in reply to: subgrid not running #86412
    tony
    Keymaster

    Hello,

    What does not work?

    Check you code again – if you do not have the grid, something is wrong in the code of the subgrid. Try first simple things.

    Regards

    Tony

    in reply to: Thickbox Window #86409
    tony
    Keymaster

    Hello,

    1) I suggest you to use gridComplete instead of loadComplete

    2) set the link as variable and see what is here.

    loadComplete: function() {

    in reply to: Chained select box in dialog form #86406
    tony
    Keymaster

    Hello,

    If I see your previous post – Yes you do not use the event in the right place.

    The princip is to include the event in the appropriate options and not at end.

    Here is the example:

    ).navGrid(”#nav_diplome_agricole”,

    tony
    Keymaster

    Hello,

    Currently no, but you can play little with this using onSelectRow event.

    Regards

    Tony

    in reply to: Simple Example of how to save data to database? #86404
    tony
    Keymaster

    Hello,

    Currently no – but it depends which is your server side language – PHP, ASP ….

    In princip for every add/edit/delete the data is posted to the server. You will need to configure the url -where your save should be. In this file (or service) you should obtain the parameters from the post (you should known what to obtain) and save, update or delete the needed data.

    As first step you need to known how to obtain parameters from ajax request in your prefered server language and how to make query's to the database.

    Since jqGrid can be used with any server side language we do not provide examples of this, but it will be good to do in the future documentation.

    Best Regards

    Regards

    Tony

    in reply to: multiselect with rowedit #86403
    tony
    Keymaster

    Hello,

    Do not have time to test, but I do not like this piece of code:

    in reply to: tutorial fix #86402
    tony
    Keymaster

    Hello,

    For the first – Thanks we will try to revise all docs when 3.5 will be published.

    For the second you should open dbconfig and put the se variables. Another issue is that this file is not included properly. Maybe in this case you will need to check your php settings.

    Regards

    Tony

    in reply to: Search events #86401
    tony
    Keymaster

    Hello,

    I consider this to be included in 3.5 version

    Regards

    Tony

    in reply to: jg3.5 A2- no pager #86400
    tony
    Keymaster

    Hello Adam,

    Thank you very much for this, but I'm sorry – this will work in some cases.

    For the all pager elements we need about 200 – 210 px room. If you set this to 1/3 from the grid width this will definitley break in case the grid have width 400-500 pixels. This can be view very well in IE browsers. In order to be all ok we need.

    1. Create a span element as first child in body

    2. Add needed classes to this element .

    3. Put the created table (with pager elements) in this element.

    4. Calculate the width of the table.

    5. Move the table to the pager and set the needed width

    6. Remove the created element from body.

    This algorithm works well, but I serach for another better solution.

    Regards

    Tony

    in reply to: formedit select multiple size problem #86399
    tony
    Keymaster

    Hello,

    If you dynamically load this the option does not have sense, since the element is already created and you fill data in already created element from jqGrid. You should this manually whitin the request.

    Regards

    Tony

    in reply to: local data example #86398
    tony
    Keymaster

    Hello,

    Download the demo and you will see the code for all examples in separate js files.

    Regards

    Tony

    tony
    Keymaster

    Hello,

    Serch this form for this error. Mostly this is caused that the needed js files are not loaded. You will need to ajust the path in the loader. See docs.

    Regards

    Tony

Viewing 15 replies - 5,836 through 5,850 (of 7,981 total)

Stay connected with us in your favorite flavor!