Ricka123

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Search Modal displays when you reset its options #82605
    Ricka123
    Participant

    Tony,

    That got it

    Thank you so much

    Rick

    in reply to: Search Modal displays when you reset its options #82595
    Ricka123
    Participant

    Everything loads up ok.

    I dont want my own search button, I want to use the one in the navbar

    so how do I change the sopt for the search using the inbuilt search button

    Thanks

    Rick

    What Im saying is if I create a grid it works fine, it loads up the data and all I see is the grid

    The user clicks on the search icon (find.gif) and the search window pops up., however it has all defaults in the sopt, I only need Begins With.

    so when I change the searchGrid

    in reply to: Search Modal displays when you reset its options #82589
    Ricka123
    Participant

    I create a grid

    in reply to: Add image to the table header #81985
    Ricka123
    Participant

    Tony I managed to accomplish this for my requirements:
    the following is the code segment,
    I also allowed some columns to have a search capability by applying a simple mask array to the table

    for(i=0;i“);
    th.appendChild(mythdiv);
    }
    trow.appendChild(th);
    }

    I also added a style to the css file

    table.scroll th span a img{
    border-style: none;
    margin-top: 5px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 2px;
    }

    That seems to work well for me then in the jsp page added a function as follows to open the search div

    function searchQP(which) {
    var myobj = ‘#srchimg’ + which;
    var left = $(myobj).offset().left – $(“#searchBox”).width() – 50;
    var top= $(myobj).offset().top;
    $(“#searchBox”).css(‘visibility’, ‘visible’);
    $(“#searchBox”).css(‘left’, left);
    $(“#searchBox”).css(‘top’, -150);
    $(“#searchBox”).css(‘position’, ‘relative’);
    $(“#srchCol”).val(which);
    };

    in this div I have controls to reload the grid etc.
    I think thats everything.
    Thanks
    Rick

Viewing 4 replies - 1 through 4 (of 4 total)

Stay connected with us in your favorite flavor!