Welcome Guest Search | Active Topics | Sign In | Register

Grid -- How to Grid Init Call Custom Method Options
ParkZZZ
Posted: Wednesday, March 17, 2010 2:43:42 AM
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...


eo_support
Posted: Wednesday, March 17, 2010 9:20:31 AM
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.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.