Hi All,
I have a grid, 3 rows at the top are fixed.
All columns dynamically created in Code Behind.
My 3rd column is a static column.
This Static column text has 6 options and it is not bound to any data field. The user can click and each one fires a JavaScript routine. This works perfect.
Code: C#
EO.Web.StaticColumn oBUCol3 = new EO.Web.StaticColumn();
oBUCol3.Name = "BU-ITEMS";
oBUCol3.Text = "<a href=\"javascript:bu_raisesGridEvent('SelectE')\">[E]</a><a href=\"javascript:bu_raisesGridEvent('SelectH')\">[H]</a><a href=\"javascript:bu_raisesGridEvent('SelectI')\">[I]</a><a href=\"javascript:bu_raisesGridEvent('SelectC')\">[C]</a><a href=\"javascript:bu_raisesGridEvent('SelectS1')\">[S1]</a><a href=\"javascript:bu_raisesGridEvent('SelectALL')\">[ALL]</a>";
Anyway, ROW 3, COLUMN 3 (the static column), I need to show different text to what is created Dynamically. I tryed to change the text Dynamically after the row is created in Code behind, but it wont change (other columns do).
I didn't have the latest build, and the build I was using showed the dynamic created text (above) in the 3 Fixed rows which I don't need.
However, I just installed the latest version, and now the top 2 out of 3 rows are blank in the Static Column (which is what I want) but not the 3rd row.
1) Why cant I change the Text (yes, I know it is static, but I should still be able to change it)
2) Is a StaticColumn the best to use, or should I create a Custom Column like a label column
Any ideas greatly appreciated