Rank: Newbie Groups: Member
Joined: 3/17/2010 Posts: 1
|
sorry~ I can not speak English
I want to generate the grid during the call method
ex)
IDataReader State Field Value -- 1
A.aspx.cs
public string ReplaceState(object o) { string returnString = strting.Empty; swich (o.ToString()) { case 1: returnString = "ABC"; break; ..... }
Grid Date Binding...
<Columns> <eo:RowNumberColumn Width="40"></eo:RowNumberColumn> <eo:StaticColumn Width="40" HeaderText="NO" DataField="Seq"></eo:StaticColumn> <eo:StaticColumn Width="100" HeaderText="NO" DataField="State"> <$# How Call ReplaceState Method ???? %> How To Display "ABC" ??? </eo:StaticColumn> </Columns>
^^
one more
javascript API Where?? I Don''t Search url please...
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You can not do that. For simple formatting, you can set the column's DataFormat property. For complicated formatting such as your case, you will need to load your Data into a DataTable, pre-format it in that DataTable, then populate from that DataTable. Here is the document for our JavaScript API: http://doc.essentialobjects.com/library/1/clientapi_howto.aspxThanks!
|