guriddo.support

Forum Replies Created

Viewing 15 replies - 31 through 45 (of 1,086 total)
  • Author
    Replies
  • in reply to: disable some rows and checkall #128065
    guriddo.support
    Participant

    Hello,

     

    Everthing what you do is correct except that you use Bootstrap CSS Framework.

    As per definition of this CSS the disabled class is named  ui-diabled see the CSS object class in jqGrid definition, while the ui-state-disabled is for jQuery UI CSS. To have cross working booth class is recommended to be set

     

    You code work if you do:

     

    Kind Regards,

    Will

    • This reply was modified 1 year, 4 months ago by guriddo.support.
    • This reply was modified 1 year, 4 months ago by guriddo.support.
    • This reply was modified 1 year, 4 months ago by tony.

    Guriddo Support Team

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

    Hello Kris,

     

    We apologize for the late answer.

     

    We where able to create a experimental function comboGrid (all changes are in github) in which we implement some of your requested features.

     

    Here is the demo – the combo grid is bound to ShipName edit field and for the demo purpose it returns the country name.

     

    The function has 3 parameters – the input element; options which contain data parameter (can be a string or array)  and return field – a field which should be returned when the user press enter or select with a click;  the third parameter is a grid object parameter with colModel and etc.

     

    There are some small problems, but I hope this will help you and other to use the grid as combo.

     

    Please let us know if you have any recommendations, improvements or anything what you think it will be helpfully.

     

    Kind Regards,

    WIll

     

    P.S. All the changes are in GitHub.

    Guriddo Support Team

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

    Hello Kris,

     

    Thank you for the recommendation. We will see what we can do within this week.

     

    There is already similar solution here

     

    Having this code we can maybe reconstruct the it to be used as combo grid like in the demo shown from you.

     

    Thank you very much again.

     

    Kind Regards

    Will

    Guriddo Support Team

    in reply to: Set rowHeight with wrap #128056
    guriddo.support
    Participant

    Hello,

     

    I have simulated some long text in order to show you the solution.

     

    Here is the demo code

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Set rowHeight with wrap #128044
    guriddo.support
    Participant

    Hello,

     

    The solution you requested require to add html content to your data.

     

    This is tested and works as per your requirement:

     

    Add the following style definition:

    after the jqgrid css.

     

     

    Your long data when comes from the server or local array enclose in div tag with class mylongdata

    so it look like:

     

    You can adjust your height in mylongdata depending on your needs.

    or simple use cell formatter to analyse its length and enclose it  in that div with the class

     

    If you have difficulties with using cell formatter, please let us know.

     

    Kind Regards,

    Will

     

    Guriddo Support Team

    in reply to: Grid nav buttons #128042
    guriddo.support
    Participant

    Hello Kris,

     

    I think that the simplest way is to create your own function with parameters – the grid id and pager id and the conditionally add the needed buttons.

     

    Something like this:

     

    and then call this function after the navigator

     

    If you have maybe better idea, please let us know.

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: PHP Suite v5.5.5 – Bootstrap Grid Defaults #128041
    guriddo.support
    Participant

    Hello,

     

    From what I understand you missed a grid parameter called autowidth – this parameter initially set the grid width to its parent.

     

    Unfortunately we do not have a similar parameter for the height (we will try to create this in next release) which means that we need to write small code to fith the grid height to its parent.  In the example provided we use onInitGrid event and setGridHeight method with second parameter set to true.

     

     

    To have toppager only this is a little tricky – set toppager in grid parameter to true, disable creation of grid pager – the last param in renderGrid and then use cloneToTop set to true in navigator.

     

     

    The whole example is here

     

    If  something is not clear, please do not hesitate to ask us.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: PHP Suite v5.5.5 – Bootstrap Grid Defaults #128037
    guriddo.support
    Participant

    Hello,

     

    In order to help you we need your code and html page where the grid renders.With other words – if you send us a demo demonstrating the problem, that would solve the problem in 80%.

     

     

    Thank you

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Inline edit focus event #128022
    guriddo.support
    Participant

    Hello,

     

    You can use dataEvents property in colModel editoptions. Here is possible to add any event supported by element.

     

    For more information see here editoptions properties

     

    If you have dificulties, please let us know.

    Guriddo Support Team

    in reply to: loadState TypeError #128020
    guriddo.support
    Participant

    Hello,

     

    I’m not sure that I correctly undestand the question. Did you mean that data is json?

    saveState and loadState uses localStorage to store everthing in the grid incuding the current data – independed or not if it is local or not. After restore the grid restores the link and you can obtain you data remottly (If I correct understand)

     

    Any example which demostrates the problem will clear the problem and the solution for it.

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: How to allow empty date field? #128013
    guriddo.support
    Participant

    Hello, 

    The code of insert and update is not changed in ver. 5.1.1 and 5.5.5

    Maybe you change the version of database or something else. 

    Again, please set debug to true – see the output. I do not think that this is jqGrid related problem.

    You can test this very simple – from the debug try to execute the same statement  in the SQL console and see the result. It is just a request.

     

    If possible, please answer if the problems you posted are resolved or not. If  you resolve it other way, please share it.  This will help other users,  

     

    Kind Regards,

    Will 

    • This reply was modified 1 year, 7 months ago by tony.

    Guriddo Support Team

    in reply to: Conditional formatting of cells #128009
    guriddo.support
    Participant

    Hello,

     

    Use the debug option (in case of version 5.5.5) to see what is happen when you do save.

    Edit:

     

    Method 1 works per row, method 2 works per cell.

    For method 2 there is no OriginalValue  if condition is not meet and the unformat function will return empty string or null.

     

     

    Regards,

    Will

    Guriddo Support Team

    in reply to: Conditional formatting of cells #128008
    guriddo.support
    Participant

    Hello,

     

    In the future when you post code, please use the build in code editor at upper right corner

    and do not use  [CODE] tags.

    Please look at this picture

     

    If the link does not appear, try to use Chrome or Brave browser.

    Guriddo Support Team

    in reply to: How to apply formatters to summary rows? #128003
    guriddo.support
    Participant

    Hello,

     

    Use the following code to apply formatter on header and footer row:

     

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Upgrading from an older version? #127994
    guriddo.support
    Participant

    Hello,

     

    Thank you for come back to us.

    Sorry for my error. I wrongly  write the last version of JavaScript, which is 5.7.

    The last version of PHP is 5.5.5 and you have the last one.

     

    If you have any other questions, please let us know.

     

    Kind Regards,

    Will

    Guriddo Support Team

Viewing 15 replies - 31 through 45 (of 1,086 total)

Stay connected with us in your favorite flavor!