rsea

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Author
    Replies
  • in reply to: header and columns not aligned #85527
    rsea
    Participant

    Okay, it worked here changing the CSS (grid.css) of “table.scroll thead th” from

    padding: 0px 2px 0 0px;

    to

    padding: 0px 4px 0 0px;

    Does this work with someone else?

    Rodolfo.

    in reply to: header and columns not aligned #85526
    rsea
    Participant

    I use a personalized theme, modified over steel.

    Doesn't matter what I do with the CSS, the header (table.scroll th div) is 6px smaller than the cell (table.scroll tbody td). I've tried to set padding by hand, without sucess…

    in reply to: Custom Search #85331
    rsea
    Participant

    I did that just using

    $('#grid').setGridParam({postData: {search:$('#input').val()}}).trigger(”reloadGrid”)

    as action when user click ok or press enter. What this does is send append &search=field to the file which populates the grid, so you have to adjust that file too.

    Works fine for me, except that he have to do an empty search to reset.

    Hope it helps,

    Best regards,

    Rodolfo

    in reply to: ret is undefined #85349
    rsea
    Participant

    Ok… I won the “stupid of the year”

    in reply to: ret is undefined #85325
    rsea
    Participant

    Hi Tony,

    Usually I ask them to return {status: 0} if ok or an error code otherwise. I've tried to echo [true] and I still get the “updating database”/ajax busy message, tried [true,''] too and nothing. \

    When you said there was an option for this you mean the “afterSubmit” event ? (im using editGridRow)

    BTW how I disable the red message? I have a personalized one… disabling at the grid didnt disabled this one.

    Thank you,

    Rodolfo.

    >> Edit: I don't get the ret undefined message anymore. but the add modal is still on top and dont close, actually, stop responding and the ajax busy message don' t disappear.

    The code I use to add a row:

    function addrow(table) {

    in reply to: ret is undefined #85312
    rsea
    Participant

    Ok. I fixed the error but the ajax still dont finish its request, the Loading… message dont disapear.

    in reply to: loadComplete/setRowData : elem[0] undefined #85270
    rsea
    Participant

    Thanks Tony! You are awesome!

    I had 20 entries in colmodel but server was sending only 18…

    Have a great weekend!

    Rodolfo.

    in reply to: Edit Hidden Columns #85129
    rsea
    Participant

    Nevermind… I've found :

    in reply to: Multiselect Option #85083
    rsea
    Participant

    Yup! It works! =D

    But now the onClickRow don't wok. It's ignored.

    “onClickRow: function(id){

    in reply to: Drive jqGrid with Selenium or Celerity #85002
    rsea
    Participant

    Have you tried 'onSelectRow' option?

    To automate, I'm not sure if I get what you want but I think it is populate html atfer loading the grid, the option 'loadComplete' runs functions after the loading is complete, you could use it for what you want.

    Best regards,

    Rodolfo.

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

Stay connected with us in your favorite flavor!