Nov 10, 2010, 9:03 AM
Tooltip for tree grid from code behind
Hi,
I want to add tool tip for tree grid. In Tree grid columns are dynamics.
I want to add tool tip for tree grid. In Tree grid columns are dynamics.
DataRow[] ResourceRows = ds.Tables[4].Select("SiteId='" + site + "' and BusinessId='" + business + "' and ProjectId='" + ProjectId + "' and TechId='" + techId + "'");
foreach (DataRow resourceChild in ResourceRows)
{
string wduserId = resourceChild["WduserId"].ToString();
Ext.Net.TreeNode Resourcednode = new Ext.Net.TreeNode();
i = 0;
foreach (DataColumn dc in ds.Tables[0].Columns)
{
if (i == 0)
{
i++;
continue;
}
cf = new ConfigItem();
cf.Name = i.ToString();
if (i == 1)
cf.Value = resourceChild["Resource"].ToString();
else
cf.Value = resourceChild[dc.ColumnName.ToString()].ToString();
Resourcednode.Text = cf.Value;
cf.Mode = ParameterMode.Value;
Resourcednode.CustomAttributes.Add(cf);
i++;
}
Technologydnode.Nodes.Add(Resourcednode);