Hi,
I have created one ColumnTree with 4 headers.
I have to show the data for one of the header as Hyperlink (by using <ahref> tag).
But I am not able to show this as hyperlink by using <a href>
This is the part of my code ,
Code:
var colTree = new Ext.tree.ColumnTree({
width:994,
height:250,
border:true,
rootVisible:false,
autoScroll:true,
enableDD: false,
frame:true,
collapsible: true,
titleCollapse:true,
stripeRows: true,
title:'',
columns:
[
{
header:'Name',
width:130,
dataIndex:'name'
},
{
header:'Age',
width:80,
align: 'right',
style: 'text-align:right',
dataIndex:'age'
},
{
header:'Mark',
width:65,
dataIndex:'mark'
},
{
header:'Mark2',
width:65,
dataIndex:'mark2'
} ],
loader: new Ext.tree.TreeLoader(
{
preloadChildren: true,
uiProviders:
{
'col': Ext.tree.ColumnNodeUI
}
} ),
root: new Ext.tree.AsyncTreeNode(
{
allowChildren: true,
children:
[
{
name: '<a href="#" id="nameHyper">Bala</a>', // Hyperlink is not coming here
age :'20',
mark:'8',
mark2:'8',
uiProvider:'col'
}
Is there anyother way to show the data as hyper link?
Thanks in advance. 