Monday, August 10, 2009

Infragistics Initalize row

These are some of the basics stuffs, which can be used to format Infragistics Web Grid Columns:


Protected Sub iggrdJobInvSts_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.RowEventArgs)

If e.Row.Cells(10).Value <> "" Then
e.Row.Cells(14).Value = Convert.ToDateTime(e.Row.Cells(10).Value).ToShortDateString
End If

e.Row.Cells(8).Value = CInt(e.Row.Cells(8).Value.TrimStart("0"))

End Sub

No comments:

Post a Comment