PDA

View Full Version : Adding a - Summary - attirbute in the below code



kvishal
21 Sep 2010, 2:29 AM
This code is from ExtJS Version: 3.0.0 from the file -> ext-all-debug.js;
I want to add Summary attribute tag shown in Bold below, also it should be configurable from where we are creating the EditorGridPanel.
Please help, Its urgent.
------------------------------------------------------------------------------------------------------------

if(!ts.row){
ts.row = new Ext.Template(
'<div class="x-grid3-row {alt}" style="{tstyle}"><table summary="{summary}" class="x-grid3-row-table" border="0" cellspacing="0" cellpadding="0" style="{tstyle}">',
'<tbody><tr>{cells}</tr>',
(this.enableRowBody ? '<tr class="x-grid3-row-body-tr" style="{bodyStyle}"><td colspan="{cols}" class="x-grid3-body-cell" tabIndex="0" hidefocus="on"><div class="x-grid3-row-body">{body}</div></td></tr>' : ''),
'</tbody></table></div>'
);
}

------------------------------------------------------------------------------------------------------------

kvishal
23 Sep 2010, 1:02 AM
In the above. how is it possible to fetch the value for summary="{summary}" dynamically at runtime?