PDA

View Full Version : tooltip on scrollbar of grid



krishgopal
20 Feb 2013, 6:09 AM
Hi,

I want to show the tooltip on verticalscrollbar of extjs grid. that will show the top row first column data while moving scrollbar. can any body help me on this in Extjs 4.

mitchellsimoens
22 Feb 2013, 9:15 AM
The element being scrolled will fire a scroll event (native JS event, not Ext JS event) which you can capture and show a tip or something.

krishgopal
22 Feb 2013, 10:29 AM
thanks for your reply.

I have used below method. it worked for me.

// Private template method implemented starting at the AbstractView class.
onViewScroll: function(e, t) {
this.callParent(arguments); createToolTip();//create the tool tip
},
:)