Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to check partially visible row and column for cell icon

    How to check if a row is partially visible in the grid.
    Please note that getVisibleRows returns all the rows including ones which are very less visible.
    Same for the columns.

    My requirement is i have an icon to be displayed in the cell (left / right aligned to the cell value) when user clicks on that cell. I have also handled scroll, so that icon will also scroll with cell. I have used Img for icon. Added that instance as child to the grid and using moveTo to place the icon over that cell.

    My problem is when i scroll down, icon comes over the header. When i scroll up, icon goes below grid's visible area and creates vertical scrollbar.

    I have used setKeepInParentRect, set overflow of icon as Hidden etc
    I want rollover canvas type of behavior, but i want that canvas to appear on click and not on rollover.

    Please provide some solution or any other approach.
Working...
X