Actinic Version 8 Release Notes:: File Format: PDF/Adobe Acrobat - ViewCopy/pasting/duplicating products and sections no longer causes multiple instances of . The 'Lookup in Actinic Stylesheet' feature now correctly searches for entire class When moving your mouse over a grid in Actinic, Windows Vista users will no .. This feature allows you to configure the actinic product http://downloads.actinic.com/docs/release_notes/ReleaseNotes853.pdfHOME | When using external data sources, and refilling a grid with a new store/ column model, by calling Grid.reconfigure(ds, cm)
The grid calls Ext.grid.AbstractGridView.prototype.generateRules, which generates a new stylesheet block each time.
When combined with column hiding/showing, you end up with multiple rules for each column, and the columns can not be unhidden.
The fix for this is:
Ext.grid.AbstractGridView.prototype.currentStyleSh eet = false;
Ext.grid.AbstractGridView.prototype.generateRules = function(cm){
// dont keep making rules...?
// this may not work for new colusmn?
if (this.currentStyleSheet) {
return this.currentStyleSheet;
}
var ruleBuf = ; Yahoo! UI Library: Paginator:: Calling set directly on these attributes will cause the UI to update if necessary. configure the PageLinks UI Component rowsPerPageOptions : [ 10, 25, 50, If multiple containers are specified, the same markup will be generated into each css or other types of external files load much more slowly. http://developer.yahoo.com/yui/paginator/HOME | Plugins | sfOpenSocialPlugin | 1.0.2 | symfony | Web PHP Framework:: This base_url is used to allow to automatically include stylesheet and Javascript Since we are going to configure the application from the code we should . Here we use the $data_response object that was generated when we've sent the Here we are calling one function that is from the class [gadgets.window] http://www.symfony-project.org/plugins/sfOpenSocialPluginHOME |
for(var i = 0, len = cm.getColumnCount(); i < len; i++){
var cid = cm.getColumnId(i);
ruleBuf.push(this.colSelector, cid, " {n", cm.config[i].css, "}n",
this.tdSelector, cid, " {n}n",
this.hdSelector, cid, " {n}n",
this.splitSelector, cid, " {n}n");
}
this.currentStyleSheet = Ext.util.CSS.createStyleSheet(ruleBuf.join(""));
return this.currentStyleSheet;
}
The other workaround may be to not send reconfigure the column model... - but it's a bit of a gotcha.. - (eg. there is no indication that you should not send columnModels to reconfigure...)
I haven't been able to find a cross browser way to destroy the rules.
hi jack, if by "rules" you mean the entire in the createStyleSheet() method will allow access to it's DOM reference via Ext.get() in both IE and FF.
does this help? 'cos i noticed a removeStyleSheet() method in Ext.util.CSS, but there doesn't seem to be any id associated with Ext generated |