Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Uses the grid’s process (including calling out to the GridField) to localize a data value in a given cell. Useful for populating grouping rows.
Namespace: Microsoft.SharePoint.JSGrid
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function LocalizeField ( _
dr As DataRow, _
field As GridField, _
dataValue As Object _
) As String
'Usage
Dim instance As GridSerializer
Dim dr As DataRow
Dim field As GridField
Dim dataValue As Object
Dim returnValue As String
returnValue = instance.LocalizeField(dr, _
field, dataValue)
public string LocalizeField(
DataRow dr,
GridField field,
Object dataValue
)
Parameters
dr
Type: System.Data.DataRowThe data row containing this data value.
field
Type: Microsoft.SharePoint.JSGrid.GridFieldThe GridField for this data value is in.
dataValue
Type: System.ObjectThe data representation of the value to localize.
Return Value
Type: System.String
A String indicating the localized value.