tony

Forum Replies Created

Viewing 15 replies - 286 through 300 (of 7,981 total)
  • Author
    Replies
  • tony
    Keymaster

    Hello,

    Adding/updating and deleting rows when gruping is on is a little bit tricky.
    For this purpose you will need to call the grouping again. Better way is to call destroy grouping, then add/update/delete rows and then call grouping again.

    This can be seen if you look into the demo of grouping especially the Dynamic Grouping

    For you case you will maybe need to call destroy grouping before to send the data to the server and after it is updated to call the grouping again.

    Kind Regards

    in reply to: Saved Filters #115250
    tony
    Keymaster

    Hello,

    Since you can get the current filter it is easy for you to manipulate these arrays

    There is no build in way to do this, but you can define two arrays for the names and templates and push,delete and modify them with a little custom JavasScript.
    In order to take effect this you will need to set recreateFilter for the filter options.
    See docs.

    Kind Regards

    in reply to: Server Side Paging Lazy Load #115247
    tony
    Keymaster

    Hello,

    Unfortunately we do not support a “lazy loading” as described from you, but this is very interesting feature and I will add it in our todo list.

    Kind Regards

    in reply to: Send and changing parameter via url #115245
    tony
    Keymaster

    Hello,

    Yes, this is possible. You will need to learn more for datepicker functions and events.
    You can do this if you visit jQuery UI Datepicker.
    Look at the demos and datepicker events.

    Kind Regards

    • This reply was modified 11 years, 3 months ago by tony. Reason: tipo
    in reply to: Not exporting all columns data #115244
    tony
    Keymaster

    Hello,

    Unfortunately we do not support a export to csv/excel/pdf when a custom data PHP function is available.
    I have look into the code and it seems we can prepare this for the next release.

    Kind Regards

    in reply to: Uncaught ReferenceError: result is not defined #115186
    tony
    Keymaster

    Hello,

    The problem maybe is in ajax function, since it need a time to get the result.
    You maybe will need to set async: false in order towait until rthe request is completed.

    Kind Regards

    • This reply was modified 11 years, 4 months ago by tony.
    in reply to: Send and changing parameter via url #115181
    tony
    Keymaster

    Hello,

    I think that you will need to read some documentation before to proccess with this.
    postData is a grid option (object) which add a parameter to the url. These parameters can be changed in the runtime with java script and are easy to maintained. Please look here what postData option is.

    If you prefer the more clear for you way you can use setParam to change the url like this

    Kind Regards

    • This reply was modified 11 years, 4 months ago by tony.
    in reply to: How do I only have only 1 subgrid expanded at any time? #115180
    tony
    Keymaster

    Hello,

    The download from github differ from the standard download.
    After downloading open the js directory and then open the minified directory where the min file is. It is a good idea in this case to replace the css file too, since this is a development (not official) version.

    Kind Regards

    Kind Regards

    in reply to: Send and changing parameter via url #115177
    tony
    Keymaster

    Hello,

    Then send only one parameter like this:

    Kind Regards

    in reply to: Send and changing parameter via url #115162
    tony
    Keymaster

    Hello,

    Yes this is possible. You can do this using postData parameter and setGrid param.
    Suppose you want to load a records fro 2015-01-01 to 2015-01-07 then the code will like:

    At your server you should accept fromdate and todate parameters and return the appropriate records.

    Kind Regards

    in reply to: How do I only have only 1 subgrid expanded at any time? #115160
    tony
    Keymaster

    Hello,

    I have fixed the bug.
    You can download the fixed version from GitHub.
    If you have difficulties, please let me know

    Kind Regards

    in reply to: Subgrid empty #115143
    tony
    Keymaster

    Hello Murray,

    Thanks for the feedback and I’m glad to hear that the problem is resolved.

    Kind Regards

    in reply to: Edit a predefined format number #115141
    tony
    Keymaster

    Hello,

    Sorry, it is not clear – in the head section of the code tab (HTML) you will see the links, but they are not readable ok.

    This is the link to the new fixed file

    Kind Regards

    • This reply was modified 11 years, 4 months ago by tony. Reason: bad demo link
    in reply to: How do I only have only 1 subgrid expanded at any time? #115133
    tony
    Keymaster

    Hello,

    Thanks for the code fix.
    Your investigation is true. This event is raised only once when reloadOnExpand is true. I will see how this can be fixed.
    You can submit this in BugTracker
    Thanks.

    Kind Regards

    in reply to: Subgrid empty #115115
    tony
    Keymaster

    Hello,

    First of all When you post a code in the futore use the crayon button to format a code. it is much better.

    I think that the problem is a typo when you set the grid – you set it with capital Letter while they are not in the database select try with this code:

    or change the Select command in subgrid like:

    The second method maybe will not work, because of reserved words in the SQL

    Regards

    • This reply was modified 11 years, 4 months ago by tony. Reason: Adding a comment
Viewing 15 replies - 286 through 300 (of 7,981 total)

Stay connected with us in your favorite flavor!