Use tip to solve the problem of insufficient Ext column width
Updated: December 13, 2008 00:15:08 Author:
When a column is rendered with render, if the column width is not enough, the extra content will be hidden and cannot be displayed. At this time, you need to swipe a mouse over the tip function that prompts all the contents.
The rendered function is written as follows:
function renderHallName(value, meta, rec, rowIdx, colIdx, ds){
return '<div ext:qtitle="" ext:qtip="' + value + '">'+ value +'</div>';
}
The top needs to be added ();
qtitle represents the title of the tip, and qtip represents the content. At this time, a prompt will appear when the mouse passes!
function renderHallName(value, meta, rec, rowIdx, colIdx, ds){
return '<div ext:qtitle="" ext:qtip="' + value + '">'+ value +'</div>';
}
The top needs to be added ();
qtitle represents the title of the tip, and qtip represents the content. At this time, a prompt will appear when the mouse passes!
Related Articles
YUI code reading diary - Part.1
DOM operations are a very important part of learning Javascript. YUI provides a rich DOM operation interface, which are defined in %BUILD%/dom/ (encapsulated as ). Since DOM operations are more important, I plan to divide them into several parts for analysis.2008-03-03The difference between commit and asynchronous commit functions
A summary of the difference between submitting and asynchronous submission functions. Friends who need it can refer to it.2009-11-11Ext Week 1 The Strongest Study Notes in History----GridPanel (Basics)
I don't want to teach you any advanced techniques, because I'm also studying it, I just want to teach you a direction of thinking, be able to learn from one example and learn Ext and start to have an in-depth understanding.2008-12-12The first day of study
This article mainly introduces the relevant materials on the first day of learning. Friends who need it can refer to it.2007-03-03Three simple steps to solve the memory leak
This article mainly introduces three simple steps to solve memory leak2007-03-03Ext listen event method [Primary]
Ext listen event instance code2008-04-04Study the second day
Study the next day...2007-03-03Learning Day 4 - Use of Dialog Dialog
Learning Day 4 - Use of Dialog dialog box...2007-03-03Ext javascript to create hyperlinks and perform event processing implementation method
How to create a hyperlink in javasript Apply to tree control event processing in Ext2009-03-03javascript YUI code reading diary - Part.4
The getXY function in this allows developers to fully experience the fun of Hack in different browsers. IE8 is about to break out, I hope the following function will not make more if judgments. The getXY function uses an anonymous function to execute the return function (it sounds a bit difficult to read, so you can refer to an article on the Centre of the Circle Blog).2008-03-03