sanchitos

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Author
    Replies
  • in reply to: Get Cell Index in Cell Edit #93923
    sanchitos
    Participant

    Somebody can help me?

    in reply to: Get Cell Index in Cell Edit #93840
    sanchitos
    Participant

    I've been reading in detail and it seems that i might use this two events:

    beforeSubmitCell

    serializeCellData

    would it mind if someone paste an example?

    Thank you

    in reply to: getting jqgrid json data #93839
    sanchitos
    Participant

    var ids = jQuery(“#GridName”).getDataIDs();

    /* for each row loaded */

    for (var i = 0; i < ids.length; i++)

    {

    var objRowData = jQuery((“#GridName”).getRowData(ids);

    }

    //Strike objRowData has all the information you need. So to access for example the column with the index Name, you do

    // objRowData.Name or objRowData.Id.

    Hope it helps

    in reply to: Number Formatting #90849
    sanchitos
    Participant

    Well i think that the problem is that SQL Server saves decimal values with a comma, and the parse float uses a dot as decimal separator.

    Sql database: 25,30

    Parse float (25,30) -> 25

    Parse float (25.30) -> 25.30

    the NaN i'm getting is not from the jqgrid, is from the parsefloat.

    Thanks

    in reply to: Grid Height mess grid content alignment #90780
    sanchitos
    Participant

    Thank you, but setting the scrollOffset didn't worked out.

    Any way, I set the paging so it actually fit the page.

    Thank you again.

    in reply to: Mutiselect problem #89596
    sanchitos
    Participant

    Mark thank you very much! The thing was that i had version 3.4 on my server, I upgraded to 3.5 and the option

    jQuery(NOMBRE_GRID).setGridParam({ multiboxonly: true }).hideCol('cb');

    is actually working.

    Thank you again 😉

    Topic closed!!! jeje

    PS. Sorry for all the inconvenient

    in reply to: Mutiselect problem #89594
    sanchitos
    Participant

    Tony thank for your reply, i really appreciate you guys on trying to help me.

    I did read what mark said, multiboxonly seems to be the right path to give the effect but when I click a row it don't seems to be selected (it's kind of obvious because you need to click the check-box in order to select the row), so when i try to retrieve the selected row, there won't be any selected row. I tried this before got here in the forum.

    What I really want to know is why the information is moved one cell to the left? Like in the picture in the first post. Why is this happening when i do jQuery(NOMBRE_GRID).setGridParam({ multiselect: false }).hideCol('cb') in jQuery(document).ready ?

    I don't know if i need to clarify again. I wrote down an event when a button is clicked on the page and i set this instruction

    jQuery(NOMBRE_GRID).setGridParam({ multiselect: false }).hideCol('cb')

    and is perfectly working.

    Code:

    in reply to: Mutiselect problem #89562
    sanchitos
    Participant

    Thank you mark I thought same too about the multibox only and i tested. It seems to work fine until i tried to retrieve the information of the row selected: no row was selected 😛

    Well i'm giving up, jeje, thank you all guys, really.

    But i really think it's a jqgrid bug, i don't understand why the information is moved one cell to the left.

    Thank you again!

    PS. This is the code when the information is moved to the left:.

    in reply to: Mutiselect problem #89556
    sanchitos
    Participant

    Updated to JqGrid 3.5 and same thing is happening. Problem is not solved :(, information is moved one cell to the left.

    Does anyone have you tried transform a multiselect grid to uniselect grid in loading phase?

    Thank you, any comment will be appreciated .

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

Stay connected with us in your favorite flavor!