guriddo.support

Forum Replies Created

Viewing 15 replies - 841 through 855 (of 1,092 total)
  • Author
    Replies
  • in reply to: What event triggers after inserting a new DB entry? #124873
    guriddo.support
    Participant

    Hello,

     

    In the first link provided in my previous post you should select which event is  right for you. As I say afterSubmit is fine. The event should be added not as grid event, but as form editing event

     

    The code can look like this:
     

     

    Kind Regards,
    Will

    • This reply was modified 10 years, 2 months ago by guriddo.support. Reason: fixing code

    Guriddo Support Team

    in reply to: What event triggers after inserting a new DB entry? #124870
    guriddo.support
    Participant

    Hello,

     

    You should tell at which side you want to run this event.

    If you want to run it at client  side you may need to use afterSubmit – http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

    If you want to do do something at server you can use custom update/add methods or use setAfterCrudAction : http://www.guriddo.net/demo/demos/jqgrid/editing_data/after_edit/default.php

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Search is not working in treegrid #124869
    guriddo.support
    Participant

    Hello,

     

    Just for the record – the problem here was that the id column was not set. The problem is resolved when the key: true  property was set in the appropriate place in colModel

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124868
    guriddo.support
    Participant

    Hello,

     

    We are glad to here that the problem is resolved.

     

    Kind Regards,
    Will

    Guriddo Support Team

    guriddo.support
    Participant

    Hello,

    We can not reproduce the problem. Everything  at our end work normal.

     

    You have some errors in the page that maybe cause the problem.

     

    The sequence is not correct:

     

     

    Body tag end before its definition. We can put your example online in order to see that there is no such error.
     
    It is possible that you include the navGrid outside the jqGrid scope.
     
    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Filter Toolbar Multi-Pick #124836
    guriddo.support
    Participant

    Hello,

     

    Which refresh button you push and what do this action. If you reload the page, then you should have the new records.

    If you refresh via ajax you may need to put maybe again the multiselect(‘refresh’) method.

     

    All depend what you do with this refresh button.

     

    Could you please post a test for this purpose?

    Thank you.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124835
    guriddo.support
    Participant

    Hello again,

     

    Just to know we do not have a option  enableClear as set in your code – it makes me think, that you either have modify the jqGrid code for your needs or you have another settings that you do not have posted here

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124834
    guriddo.support
    Participant

    Hello,
     
    As I say before, mtype GET or POST does nothing to do with local searching.
    To demostrate this I have copy paste your code. The only that is changed is the url and the postData set as object.
     
    Please look at your code and what you do again.
     
    Here is your test code (one to one)
     
    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124826
    guriddo.support
    Participant

    Hello,

    I tried to do object way and I get error as variables are not recognized by jqGrid as those variables are out of the scope.

    Not sure if this is true. It all depend how you try to do this:

    By example this will work as setting in grid

     

     

     

    Note how we do this. You can then get server side myvar and do what youwant.
    Actually postData is the data parameter in in jQuery ajax function.

     

    If it is not possible for you to change this you can simple set postData as empty object after the grid. Something like this
     

     

    This is possible since you use loadonce true and your data is going local.
     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Guriddo Suito PHP script expired #124825
    guriddo.support
    Participant

    Hello,

     

    Maybe it is a good idea to put a nag message for this purpose.

    Thank you

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Time Zone Conversion #124821
    guriddo.support
    Participant

    Hello,

     

    Thank you very much for the clarifications and the code.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Guriddo Suito PHP script expired #124820
    guriddo.support
    Participant

    Hello,

     

    Please re download the demo and be a sure you have replace all the needed files.

     

    Regards

    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124819
    guriddo.support
    Participant

    Hello,

    Thanks for the test case and data.

    The problem, that you have is incorrect setting of post data – you set it as string, but it is object.
     
    To work this replace:
     

     

    with
     

     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: jqGrid filtertoolbar client side search not working #124815
    guriddo.support
    Participant

    Hello,

    We see that you do not set search operators.
    The default search operator is begin with. This does not work on numbers.
    By example you can set for number equal operator. This can be something like this:
     

     

    This will tell qjGrid to use the equal operator when search on this field.
     
    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: custom rows detail #124814
    guriddo.support
    Participant

    Hello,

    Glad to hear that everything is going as expected. Thank you for the feedback.

    Kind Regards,
    Will

    Guriddo Support Team

Viewing 15 replies - 841 through 855 (of 1,092 total)

Stay connected with us in your favorite flavor!