guriddo.support

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 1,072 total)
  • Author
    Replies
  • in reply to: Custom Search Form for Pivot Grid #128132
    guriddo.support
    Participant

    Hello Ken,

     

    Thank you for the feedback and glad to hear that it works as expected

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Custom Search Form for Pivot Grid #128127
    guriddo.support
    Participant

    Hello Ken,

     

    I think you missed my first post that when once created the pivot grid does not make any request to the php file.

     

    I will explain it in detail.

     

    In your case, when you include for the first time the file leaderboard.php  in the index file it creates the pivot definitions and the grid is constructed without data. After it is created it send request ONLY ONCE to get all the needed data.

    When data comes to grid it is transformed and there are NO MORE REQUESTS to leaderboard.php  file. The grid is now in local mode. This can be easy seen if you try to sort, do a paging and etc – no requests to the server.

     

    Because of this in order to do search, local build should be done like in our demo. No PHP code – only JavaScript code.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Custom Search Form for Pivot Grid #128125
    guriddo.support
    Participant

    Hello,

     

    As far as I understand you missed to bind a click to search button and use the function which we provide in our demo.

    Include our function from the example in your index.php and bind a click as we do in our code.  You will need just to configure the input data to meet your requirements.

     

     

    Regards,

    Will

    Guriddo Support Team

    in reply to: Custom Search Form for Pivot Grid #128122
    guriddo.support
    Participant

    Hello Ken,

     

    Please check this demo example

     

    If you have questions or something is not clear, please let us know.

     

     

    Kind Regards,

    Will

     

    Guriddo Support Team

    in reply to: Custom Search Form for Pivot Grid #128120
    guriddo.support
    Participant

    Hello Ken,

     

    Yes this is possible.

     

    You need to know that after the pivot grid is build, it stay in local mode and no request to server is possible.

     

    In order to achieve this it is needed to build the filters string manually and pass it to postData  which should do the job.

     

    In the next days we will post a example how to do this. We think it will be useful to have such method.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Get filtered data #128117
    guriddo.support
    Participant

    Hello Kris,

     

    First of all we apologize that for some reason we have missed this post.

     

    You can do this using the addLocalData method with true parameter

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Add row to different table after insert #128114
    guriddo.support
    Participant

    Hello Ken,

     

    Just do some test with your table.

    I apologize really for that, that I  miss some important setting in the script.

     

    Our original script work like champ if you add only one important setting

     

     

    This option enables getting the lastInserId from the table.

    By default it is fale.

     

    We have tested with this setting and it work.

     

     

    Sorry again for my mistake on this setting.

     

    Kind Regards,

    Will

     

    Guriddo Support Team

    in reply to: Add row to different table after insert #128112
    guriddo.support
    Participant

    Hello Ken,

     

    Thank you for the update.

     

    Actually we use the PDO lastInserId

     

    I’m very curious if this script will work:

    Replace

    with

    where $conn is the connection object.

    and disable the transactions before do the insert

    I think that maybe the problem was in the transaction set to true.

     

    Regards,

    Will

     

    Guriddo Support Team

    in reply to: Add row to different table after insert #128110
    guriddo.support
    Participant

    Hello Ken

     

    Would be possible to send us the table definition of  tblLandOwners?

    I mean the create table script.

     

    Thank you.

     

    Kind Regards

    Will

    Guriddo Support Team

    in reply to: Combo grid #128108
    guriddo.support
    Participant

    Hello Kris,

     

    Thank you very much for the suggestions.

     

    return_fld can be a function See here

     

    About the select – we do not have tested it on select, but I will see what we can do and will replay ASAP.

     

    Thank you again for the suggestion.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Cloning Pager to Top Loses Number of Pages #128104
    guriddo.support
    Participant

    Hello,

     

    We have send you e-mail.

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Cloning Pager to Top Loses Number of Pages #128101
    guriddo.support
    Participant

    Hello Ken,

     

    Thank you very much to point us of this problem.

    We have found it and fixed it. It will be available in the next release.

     

    If this is a showstopper, please let us know we will send you the fix.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Add row to different table after insert #128098
    guriddo.support
    Participant

    Hello,

    Yes, there is a way to get the last inserted id, but only when the insert is done.

    At the moment to do what you want some trick should be applied.

     

    One possible way is to disable automatic add and at certain point of the code and perform some other operations

    Note setTable before if and $grid->add = false after the if.

     

    You can do a lot variations using this approach.

     

    In the upcoming release we will add a special word in which the last inserted id can be used in setAfterCrud (thank you for point us to add this feature)

     

    Kind Regards

    Will

    Guriddo Support Team

    in reply to: Grid Update Uses rowID instead of Primary Key #128097
    guriddo.support
    Participant

    Hello,

     

    To overcome such problems you can set PDO to use lower case or upper case.

     

    By example if you do :

    then no mater how you write your column names, but this depend on the needs and should be used with care.

     

    Kind Regards,

    Will

     

    Guriddo Support Team

    in reply to: FilterInput – v5.8.0 Bug. #128086
    guriddo.support
    Participant

    Hello,

    It is not a bug. We just fix some not wanted behavior of the search property in colModel for this method

     

    To continue use the search on all fields set searchAll option to true in the method.

     

     

    We have fixed our code in the demo too.

     

    We understand that this will maybe break other users and have revert the change back. This will be available in the upcoming 5.8.2 release.

    Kind Regards,
    Will

    Guriddo Support Team

Viewing 15 replies - 1 through 15 (of 1,072 total)

Stay connected with us in your favorite flavor!