Saroumane

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Author
    Replies
  • in reply to: Dropdown with filter #127063
    Saroumane
    Participant

    Hello,

    I’ve tried to use your solution, but I don’t understand how I need to use it.
    Maybe I’ve not correctly explain my problem.  I try to explain differently.
    Usually with some coffee I pass to solve my problem with your good advice.

    My grid is only in EDIT mode, no ADD. When I open the modal EDIT windows, I want to keep the value of the ‘num_ef’ cell. And I want to use this value in the
    WHERE clause in the query who populate a dropdown. Below the essential of my actual code.

    Thanks for your help,

    Jqgrid PHP 5.1.0

    in reply to: Problem with two "JS function" #126577
    Saroumane
    Participant

    Hello,

    Thanks, it’s all right !!! With your solution, the both functions work fine.

    Kind Regards,

    Saroumane

    Jqgrid PHP 5.1.0

    in reply to: modal search with dependent dropdown #125584
    Saroumane
    Participant

    Hello,

    Sorry for my late answer. I would like use only the value of the first dropdown in the search dialog windows.
    I understand that it is not easy to use the different level of the dependent dropdown in the search windows.

    Kinds Regards,

    Thierry

    Jqgrid PHP 5.1.0

    in reply to: dependent dropdown in subgrid #125163
    Saroumane
    Participant

    Hello Tony,
    I followed your advice, and I create a variable that=this. After this change, the second dropdown work fine, but not the third dropdown. In the console, the N3val variable is not filled. var N3val = $("#unites2",formid).val();

    I created a variable var N3val = selc3; and my third dropdown seems to work fine.

    What do think about this solution?

    Kind Regards,

    Jqgrid PHP 5.1.0

    in reply to: dependent dropdown in subgrid #125143
    Saroumane
    Participant

    Hello,
    thanks for your hell Tony.
    I remplaced the variable ($subtable) by (this) in this part of code:

    Now the first dropdown is OK, but the second dropdown is empty and the third display “select”. I think the “q” variable is not fill.
    I changed all ($subtable) variable by (this) everywherein the script, but the dropdowns are not OK.

    What do you think about this new problem ?

    Thank,

    PS: Sorry my english is poor.

    The “beforeshow edit” script

    Jqgrid PHP 5.1.0

    in reply to: Datetimepicker in search/filter #125083
    Saroumane
    Participant

    Hello,

    Thanks for your Help. It’s OK now !!!

    Kind Regards,

    Sarou

    Jqgrid PHP 5.1.0

    in reply to: custom rows detail #124808
    Saroumane
    Participant

    Hello,

    Thanks. Your proposition work very well when I declare the “primary key” in the master php file.

    Kind Regards,

    Saroumane.

    Jqgrid PHP 5.1.0

    in reply to: Multiple dependent dropdown (cascade) #124589
    Saroumane
    Participant

    Hello,
    I followed your advice, and I tested this modification.
    The grid is ok, and my 3 levels dropdown work fine.
    But can you read my code and tell me what you think about this.

    Kind Regards,

    Jqgrid PHP 5.1.0

    in reply to: Show / hide columns #124466
    Saroumane
    Participant

    Hello,
    Thank for your fast answer. I will waiting the end of the week.

    Kind Regards,

    Saroumane

    Jqgrid PHP 5.1.0

    in reply to: Problem with dependent dropdown. #124303
    Saroumane
    Participant

    Hello Will,

    I changed my code by following your advice, but I have no change. The second dropdown is empty in the edit form. The field is not filled by the value, and the dropdown is empty. I need to choose again a value in the first dropdown for populate again the second dropdown.


    My code with change:

    Thanks for your help.

    Kind Regards,

    Jqgrid PHP 5.1.0

    in reply to: Problem with dependent dropdown. #124300
    Saroumane
    Participant

    Hello Tony,

    I’m sorry for my confusion about the log.

    I’m used the console log from firebug, and I have this result when I edit a row:

    If I’m understand the log, the ‘q’ value’ is ok, the function load the result of the query for the second dropdown, but don’t fill this, or don’t bind the result.

    A problem with the JSON file ?

    Thanks for your answer.

    • This reply was modified 9 years, 3 months ago by Saroumane.

    Jqgrid PHP 5.1.0

    in reply to: Problem with dependent dropdown. #124280
    Saroumane
    Participant

    In fact, if I modify my form without update my depndent dropdown, I have this log:

    Jqgrid PHP 5.1.0

    in reply to: Problem with dependent dropdown. #124278
    Saroumane
    Participant

    Hello Tony,

    Thank for your answer.
    I verified my code with your indications. I added the line

    and the log file give this information:


    log file:

    If I see correctly the log, the value of dependent dropdown are loaded, but no displayed. It’s right ? but I don’t understand why.

    Thanks for your help,

    Kind Regards

    • This reply was modified 9 years, 3 months ago by Saroumane.

    Jqgrid PHP 5.1.0

    in reply to: Filtering grid by subgrid value #123932
    Saroumane
    Participant

    Hello,

    Thank for your answrer,

    I’ve not really understand your first proposition, but I think your second idea solve my problem.

    Thanks,
    Kind Regards,

    Jqgrid PHP 5.1.0

    in reply to: Filtering grid by subgrid value #123930
    Saroumane
    Participant

    Hello,

    Thanks for your answer. Sorry for my English, I’m French.
    I would like to use a variable coming from a previous form for choose the users groups. Currently, the variable “UO” is fixed in the request for my tests.
    The objective is that the users groups (the field “UO”) see only the rows of the main grid which relate them, and only the subgrid rows where they are present.

    Thanks for your help.

    Kind Regards,

    Jqgrid PHP 5.1.0

Viewing 15 replies - 1 through 15 (of 19 total)

Stay connected with us in your favorite flavor!