In Ext 1.1, is there any way to define a quicktip for a grid column header? If so, can it be defined separately from the quicktip displayed upon hover over a cell?
sidewinder -
There is a config option tooltip on ColumnModel configs.
For a quick sample:
var cm = new Ext.grid.ColumnModel([{
id: 'topic', // id assigned so we can apply custom css (e.g. .x-grid-col-topic b { color:#333 })
header: "Topic",
dataIndex: 'title',
width: 490,
renderer: renderTopic,
tooltip: 'Sample tooltip',
css: 'white-space:normal;'
},{
header: "Author", Mootools beats jQuery and Ext for AIR:: Coder’s Eye header image 2. ← Blueprint CSS Grid Tool for Adobe Air Quick Tip I spent a half hour tinkering around in Aptana, downloading MooTools 1.1, http://coderseye.com/2007/mootools-beats-jquery-and-ext-for-air.htmlHOME | How do I open a URL in a new Browser Window in ASP.NET?:: This quick tip shows you how to open a URL in a new Browser Window in ASP.NET. I think that is because I changed the header contents. http://www.vbdotnetheaven.com/UploadFile/mahesh/OpenURLInNewWindow09012006094141AM/OpenURLInNewWindow.aspxHOME |
dataIndex: 'author',
width: 100,
hidden: true
},{
id: 'last',
header: "Last Post",
dataIndex: 'lastPost',
width: 150,
renderer: renderLast
}]);
I Am a Sinner – What About You?
Global Sourcing and Supplier Online by Dylan
|