kvishal
15 Sep 2010, 12:33 AM
Is there a way to provide a brief overview of how data has been organized into a Grid. This is corresponding to the summary attribute of a table in html.
Does something analogous to summary attribute exist in ExtJS?
ravigupta84
15 Sep 2010, 4:19 AM
Hi Condor,
i encountered that tehre is one table for each row in the grid. Can we put the summary attribute in the table element. i need this because of WCAG support. Please refer the below link.
http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/H73.html
Here is my code:
DenomPatternDetailGrid = Ext.extend(com.fiserv.clfw.components.CLGrid, {
viewConfig: {
forceFit: true,
autoFill: true,
emptyText: 'No Records'
},
autoScroll: true,
stripeRows:true,
loadMask: true,
clStoreConfig: {
clUrl: url,
clRecord: Ext.data.Record.create([{
name: 'denominationPatternID'
}, {
name: 'name'
}, {
name: 'type'
}, {
name: 'typeDesc'
}]),
clRecordId: 'denominationPatternID'
},
initComponent: function() {
var thisObj = this;
var denomCheckbox = new Ext.grid.CheckboxSelectionModel(configOption);
this.sm = denomCheckbox;
this.cm = new Ext.grid.ColumnModel([denomCheckbox, {
header: 'patternName',
tooltip: 'patternName',
sortable: true,
dataIndex: 'name',
renderer: this.displayDenomValInToolTip
}, {
header: 'patternType',
tooltip: 'patternType',
sortable: true,
dataIndex: 'typeDesc',
renderer: this.displayDenomValInToolTip
}]);
DenomPatternDetailGrid.superclass.initComponent.call(this);
}
});
Ext.reg('denominationGrid', DenomPatternDetailGrid);
ravigupta84
15 Sep 2010, 4:20 AM
Please refer http://www.w3.org/TR/2008/NOTE-WCAG2...81211/H73.html (http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/H73.html)
Powered by vBulletin® Version 4.2.3 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.