Dec 23, 2011, 2:48 AM
【Closed】How to convert data to another at GridPanel load??
Hi ,guys ! I have three problems :
(1)How to translate data to another , just like ,I want to show "02" at Gridpanel but the datasource's data is "2"!
Maybe I need to explain it as :
specNo specver
test111 2
test123 1
but ,when the gridpanel load, I want the result is :
specNo specver
test111 02
test123 01
Add: this gridpanel and column is create at server,so ,the event will take it at server !!
(2):When dynamic create columns ,I can see the columns ,headers ,but I'an not seeing any data
(1)How to translate data to another , just like ,I want to show "02" at Gridpanel but the datasource's data is "2"!
Maybe I need to explain it as :
specNo specver
test111 2
test123 1
but ,when the gridpanel load, I want the result is :
specNo specver
test111 02
test123 01
Add: this gridpanel and column is create at server,so ,the event will take it at server !!
(2):When dynamic create columns ,I can see the columns ,headers ,but I'an not seeing any data
RecordField re = new RecordField(v_Status_English);
re.Name = v_Status_English;
re.Mapping = RecordFieldType.String.ToString();
this.stoControlInfo.AddField(re);
but ,I take it like this is OK :this.stoControlInfo.AddField(new RecordField("SPEC", RecordFieldType.String));
Last edited by nysyzp; Dec 28, 2011 at 12:44 AM.