lorife

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 73 total)
  • Author
    Replies
  • in reply to: selected a row, keep previous background on some cells #127713
    lorife
    Participant

    Hello,

    I have 2 questions:

    1. Will you correct the sources too or do I have to remember with every new update?
    2. With this modification, it works as expected if i click the row, or if I hover a row. However if i hover a selected row it still does not work

    edit:

    problem 2 is solved if i change this:

    .ui-jqgrid-btable tbody tr.table-success.table-active > td
    {
    /*background-color: rgba(0, 0, 0, 0.075) !important;*/
    background-color: rgba(0, 0, 0, 0.075);
    }

     

    could you tell me  if you will do these changes too?

    • This reply was modified 1 month, 1 week ago by lorife.
    in reply to: selected a row, keep previous background on some cells #127711
    lorife
    Participant

    Hello,

    it’s quite simple:

     

    .rowGray {
    background-color: gray !important;
    color:white;
    }

    in reply to: selected a row, keep previous background on some cells #127709
    lorife
    Participant

    Hello, I use this:

    cellattr: function (rowId, val, rawObject, cm, rdata) {
    if(val==”A”){
    return ” class=’rowGray'”;
    };
    }

     

    in reply to: reload currentrow but keep subgrid open #127695
    lorife
    Participant

    Hello,

    thank you very much, it works.

    I just don’t like very much the “flickering” when it closes and reopen, it would be nice to avoid it.

    in reply to: problem with responsive option #127692
    lorife
    Participant

    Hello, I will try to create a demo too

    in reply to: problem with responsive option #127690
    lorife
    Participant

    Hello,

    I’m using jqgrid 5.5.5, bootstrap v.4.5.0, jquery 3.6.0

    all setups are standard, nothing customized.

     

    thank you!

    in reply to: remapColumns with subgrid and checkbox #127677
    lorife
    Participant

    I created a jsfiddle.

    in this test I would like to have name, id, button but keep the subgrid in the beginning:

    https://jsfiddle.net/lorife/dusqww2w/

    consider that if I set:

    subGrid: false

    it works

    • This reply was modified 3 months, 3 weeks ago by lorife.
    in reply to: jqgrid 5.5.2 problem after downloading a file #127563
    lorife
    Participant

    I will try to create a working demo.

    as it will take some time, I wanted to let you know the problem because maybe you already knew something about it considering the changes from 5.5.1 to 5.5.2

    I will let you know.

    thank you,

    Lorenzo

     

    in reply to: some problems #127394
    lorife
    Participant

    Hello,

    do you have any news regarding autosize when the name of the column is longer than it’s content?

    It’s so ugly to see all column names truncated.

    Thank you!

    Lorenzo

    in reply to: jqgrid and select 2 problem #127393
    lorife
    Participant

    Hello,

    I understand.

    I tried to create a jsfiddle but how can I simulate an ajax call as in “select 2 function” – row 9 ? I lost an hour trying to do it but it does not work.

    Sorry for not saying it but I’m using last version of everything. So last available version of jqgrid and select2.

    If you want a can create a demo and send it do you then you can adapt it.

    Lorenzo

     

     

    in reply to: jqgrid and select 2 problem #127388
    lorife
    Participant

    Hello,

    I tried to put it on jsfiddle but it’s not working. I don’t know how to make that kind of ajax call.

    I will try to write the code here hoping you can simulate it.

    MAIN JAVASCRIPT:

    SELECT2 FUNCTION

    PHP:

     

    So as you can see PHP returns ID, text, and level.

    When outside of jqgrid I can do

    var ExtraData = $(this).select2(‘data’)[0];
    if(ExtraData){
    vLev = ExtraData.level;
    }

    But When inside jqgrid it looks like it returns just id and text but it’s missing all the extra values.

    in reply to: Reordering rows #127329
    lorife
    Participant

    thank you!

    in reply to: some problems #127254
    lorife
    Participant

    I’m sorry I have one last question.

    Is there a way to reduce row height?

    I tried:

    padding-top: 0.1rem;

    padding-bottom: 0.1rem;

    but it just changes padding top (no bottom).

    Any ideas?

    in reply to: some problems #127253
    lorife
    Participant

    Ok thank you for the suggestion!

    in reply to: some problems #127251
    lorife
    Participant

    Also, please try to consider what I suggested regarding the header.

    I would like to use this new function but I cannot because the grid in my project starts empty and it displays all the columns name truncated. It’s really bad to see.

    thank you again.

     

     

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

Stay connected with us in your favorite flavor!