guriddo.support

Forum Replies Created

Viewing 15 posts - 451 through 465 (of 553 total)
  • Author
    Posts
  • in reply to: Edit all rows for a specific column #124073

    guriddo.support
    Participant

    Hello,

     

    In form editing unfortunately this is not possible. You can use a inline edit to do this.

    The example that is close to this requirement is here

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: setValidationRules Documentation? #124072

    guriddo.support
    Participant

    Hello,

     

    Sorry for this inconvenience. This is a new module and we begin to document it.

    Please let us know what is not clear and we will help with this in all cases.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Customized Aggregate #124071

    guriddo.support
    Participant

    Hello,

     

    Glad to help. Have a nice weekend.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Save & Load Grid State #124069

    guriddo.support
    Participant

    Hello,

     

    You can try to use loadComplete event (this is not tested) where just in case you can use a setTimeout to save the state.

     

    In PHP this can be something like :

     
    Please let us know if this work as per your requirement.
     
    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: aftersavefunc not firing #124051

    guriddo.support
    Participant

    Hello,

    You mix both methods.

    setCell is used to change the content of particular cell.

    saveRow is used to save the data in a input elements that are generated within the cells.

     

    If you do not have editable inputs elements  saveRow will not fire. In order this function to work you will need first to call editRow to create the content and then save it.

     

    You actually have very simple solution : after setCell call your function which will act as aftersave function.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Search is not working in treegrid #124050

    guriddo.support
    Participant

    Hello,

     

    Sorry that we have missed this post.

    The way you use this currently is not supported – this means that the server side searching in tree is not supported.

    In order this to work you maybe need to load all the data and set load once to true. This way the grid will be in local data and the serch will be possible.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Customized Aggregate #124045

    guriddo.support
    Participant

    Hello,

     

    As promised here is the example. the In Unit column we set the desired value.

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Changing the Pivot Data Source #124041

    guriddo.support
    Participant

    Hello,

     

    Thank you for the question.

    It is needed to know that the colModel of the pivot is builded dynamically, because of this changing the data source is not so easy.

     

    Tha coulmns depend on the data. The pivot get the data analyze it – build dynamically the colModel and reconstruct the source so that it is readed to the grid.

     

    In order to do this you will need to store your initial pivot settings m, then unload the grid and call it again with the new url. Here ia code sniplet

     

     

    Hope this helps

    Kind Regards
    Will

    Guriddo Support Team

    in reply to: clubbing two column together #124040

    guriddo.support
    Participant

    Hello,

     

    You can do this in different ways.

    1. Using SQL – you can use CONCAT function by example if you use MYSQL.

    2. You can use custom Formatter

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Customized Aggregate #124039

    guriddo.support
    Participant

    Hello,

    You are close.
    The summary function is necessary, but using the formatter is the sufficient condition to have the values in grid summary row.
     
    The formatter is the function which place the value in the summary row, please look at it carefully in the article and into the example.
     
    If needed I will place a example of weighed with php code.
     
    Kind Regards
    Will

    Guriddo Support Team

    in reply to: Customized Aggregate #124033

    guriddo.support
    Participant

    Hello,

    Exactly – this is done via setColProperty function like:

    See in the docs how to write a javascript in PHP.

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: Access row data for custom formatter #124031

    guriddo.support
    Participant

    Hello,

     

    Suppose you mean the <span class=”crayon-e”>igv_link</span> formatter function.

     

    In your colModel I do not see report_no field which you access with rowData.report_no

    Maybe this is another field like order_no or pathology_no which are present in your colModel.

     

    Regards,

    Will

     

    Guriddo Support Team


    guriddo.support
    Participant

    Hello,

    It is difficult for me to understand the requirement.

    Commonly you initialize the grid with jqGrid({…}).

     

    To use fileterToolbar you call this method. After calling the method you can trigger the grid to load the data.

     

     

    Kind Regards,

    Will

    Guriddo Support Team

    in reply to: Formatter: more then one variable in one column? #124026

    guriddo.support
    Participant

    Hello,

    I’m not sure that I understand the problem, but the formatter has 3 parameters.
    The third parameter is named rowObject. In case of json data you can use it like this:
     

     

    Kind Regards,
    Will

    Guriddo Support Team

    in reply to: inline edit with select and multiple:true #124021

    guriddo.support
    Participant

    Hello,

     

    Thank you for the hint. IMHO the better way will be

    tmp != null means null and undefined while tmp !== null means only null

     

    P.S But this will cause problems if tmp is empty string, so I think the fixed expression is fine
    Kind Regards,
    Will

    Guriddo Support Team

Viewing 15 posts - 451 through 465 (of 553 total)

Stay connected with us in your favorite flavor!