guriddo.support

Forum Replies Created

Viewing 15 replies - 91 through 105 (of 1,092 total)
  • Author
    Replies
  • in reply to: jgGrid JS trying to show custom alert #127817
    guriddo.support
    Participant

    Hello Luigino,

     

    Thank you for be back to us.

     

    The problem you posted is different from the Stack-overflow thread of late 2014. The difference is that the Oleg’s example uses inline edit, while your code uses form edit, which is not the same.

     

    If in your code you use inline edit instead of form edit – this code will work.

    Moreover in the latest version of Guriddo  is possible to define your own validation error dialog, which can replace info_dialog function. The grid parameter that do this is validationCell event. See the parameters in the docs. This event replaces the info_dialog in cell and inline editing.

     

    The reason not to use info_dialog in form editing is that we have here a lot of pop up windows and we found this very inconvenient. We just set the error text on top of the form in red color (as can be seen). If you really want to display your dialog in formedit, you can call your own function before return [false,”message”] . It will run again with the displaying the text.

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: setAutocomplete with parameter #127812
    guriddo.support
    Participant

    Hello,

     

    This query should work. Maybe the problem is in the query and your settings for strict comparing the names  when you write the SQL.

     

    I suggest you first to try to use only like:

     

    if you want to use LIKE %word% operator, maybe you can try with concat function that is used your database.

     

    you can try to use ct.BANK instead of ct.bank in your query

     

    The Autocomplete docs are here

    Kind Regards,

    Will

     

    Guriddo Support Team

    in reply to: Problem with grouping (espacilly ungroup) #127758
    guriddo.support
    Participant

    Hello,

     

    Thank you very much for found this problem.

    We have found and fixed the problem.

    Since you have active Subscription, please send a e-mail to the support team and we will send you the fix.

     

    Thank you.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Inline add row #127756
    guriddo.support
    Participant

    Hello,

     

    There is no build in way to get newly added rows when use addRowData.

    To solve the problem you may create your own addRowData where after adding a row yo will add a class for it. This way you can easy then get all newly added rows.

     

     

    You code can look like this (this is just idea)

     

    Then to get the new added rows
     

     

    Kind Regards
    Will

    Guriddo Support Team

    in reply to: problem with custom_value on edit #127752
    guriddo.support
    Participant

    Hello,

     

    Yes it is normal. We pass the jQuery object. So to access the element you will need to use elem[0]  for js element. Also you can directly use:
     

     
    for quick get the value
     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: problem with custom_value on edit #127747
    guriddo.support
    Participant

    Hello,

     

    Thank you very much for the test case. It help us to quickly find and fix the problem.

     

    The problem is fixed in GitHub and you can get the latest build and test it.

     

    Thank you.

     

    Kind Regards,

    WIll

     

    Guriddo Support Team

    in reply to: Check if grid column is hidden #127743
    guriddo.support
    Participant

    Hello,

     

    One possible solution is to use getColProp method for a given column, to check if it is hidden.

     

     

    To get all the hidden columns use getGridParam to get the colModel and loop to check the hidden columns

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Export to Excel – html encoded #127717
    guriddo.support
    Participant

    Hello,

     

    To resolve the problem you will need to define your own replaceStr function in exportToExcel method. The function should return just the original string

     

     

     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: selected a row, keep previous background on some cells #127715
    guriddo.support
    Participant

    Hello,

     

    We need to make some tests and I will replay to you soon.

     

    Kind Regards
    Will

    Guriddo Support Team

    in reply to: selected a row, keep previous background on some cells #127712
    guriddo.support
    Participant

    Hello,
     
    Both classes (your one and the table-success ) have property !important.
     
    In order to do what you want only one should be available in this case your one. With other words – comment the line in jqgrid bootstrap4 and do the following in your in-line style definition
     
     

     

    Regards
    Will

    Guriddo Support Team

    in reply to: selected a row, keep previous background on some cells #127710
    guriddo.support
    Participant

    Hello,

     

    Please post your full CSS definition for the class rowGray.

    (Sorry to ask this, but we need to be sure that we are close to your problem at our end)

     

    Kind Regards,

    WIll

    Guriddo Support Team

    in reply to: selected a row, keep previous background on some cells #127708
    guriddo.support
    Participant

    Hello,

     

    How you define your custom background for the cells in css?
    In which way you do this – do you use custom formatter or cellattr or rowattr?

     

    Regards,
    Will

    Guriddo Support Team

    in reply to: filterToolbar autoSelect function #127705
    guriddo.support
    Participant

    Hello,

    Thanks for this. You are absolutely right. We will change the example.

    Thnks again.

    Kind Regards
    Will

    Guriddo Support Team

    in reply to: filterToolbar autoSelect function #127703
    guriddo.support
    Participant

    Hello,
     
    Thanks for reporting.
     
    IMHO I think that calling this method in loadComplete is not the right place. loadComplete event is a event that is executed every time you use: paging, sorting, filtering and etc. – in other words every time when new data is requested. This give different results.
      

    I recommend you to call this method after the grid initializes and using setTimeout to give the chance the grid to load the initial data.
     

     

    Kind Regards
    Will

    Guriddo Support Team

    in reply to: colMenuColumnDone event #127700
    guriddo.support
    Participant

    Hello,
     
    Try this:
     

     
    Kind Regards,
    Will

    Guriddo Support Team

Viewing 15 replies - 91 through 105 (of 1,092 total)

Stay connected with us in your favorite flavor!