This is a migrated thread and some comments may be shown as answers.

[Solved] Quick question about CaptionDataField and CaptionFormatString

1 Answer 191 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 28 Feb 2013, 06:10 PM
Is it possible for the CaptionDataField to contain more than one field?  

I had thought to set up the CaptionFormatString with something like "This is {0} of {1}" with the CaptionDataField = "Field1, Field2" but this crashes the grid everytime.

(Both of the fields I tried to use are defined in the DetailTables GridTableView DataKeyNames.)

1 Answer, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 01 Mar 2013, 01:21 PM
Hello,

CaptionDataField
We are not able to set more then one datafiled in it. Because this is CaptionDataField not CaptionDataFields.

CaptionFormatString
It is only to set format the string based on its datatype/value.
like :
dataField Value -> DIsplay value
1. 2012-12-12 12:12:12:789 -> 2012 Jan 12
2. 23.748544 -> 23.75


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or