jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGrid cell position and size

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  phil 12 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • jqxGrid cell position and size #18159

    phil
    Participant

    Hello,

    Is there a way to get a specific cell size and position within a jqxGrid.
    The cell is referenced by a field name and a row index.

    Thanks,
    Phil

    jqxGrid cell position and size #18168

    Peter Stoev
    Keymaster

    Hi Phil,

    To get a cell at specific position, you can use the Grid’s getcellatposition method. It accepts two arguments – left and top. The Drag and Drop samples of jqxGrid use that method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGrid cell position and size #18184

    phil
    Participant

    Hi Peter,

    Thank you for your answer.

    I think I asked the question in a confused way. I would like to know the postion or offset of a specific cell, with a given row index and a field name, not the opposite. It is possible?

    To be more precise, I would like to simulate a jqxExpander edit on a grid cell by putting a jqxWindow that overlap exactly on this cell top (because I think this is not a supported edit mode). So I need to know the exact cell position within the browser to place the jqxWindow on top of it.

    Thanks, in advance,
    Phil

    jqxGrid cell position and size #18185

    Peter Stoev
    Keymaster

    Hi Phil,

    May be you should take a look at the Popup Editing sample. It is with jqxWindow.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGrid cell position and size #18192

    phil
    Participant

    Peter,

    That’s what I did, but in the sample, the popup is placed within the grid at a fixed position, but is not aligned with the cell.

    I would like to align it to the cell so it is more obvious which cell is edited.

    Do you think it is possible, or do you think this possibility might be added to a next release?

    Thanks,
    Phil

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.