This Syntax from the old UltraWebGrid:
UltraWebGrid1.Columns.FromKey("Betrag").CellStyle.HorizontalAlign=HorizontalAlign.Right
How is the systax in the WebDataGrid?Thanks.
Hi BBL_MV,
There is no property to do this for the WebDataGrid. This would be accomplished with styling. You would need to set the css of the column to a class that aligns the text on the right. You would also have to do this to the header css and footer css and any auxilary row cells.
regards,David Young
My Inline CSS in Page1.ASPX:<style type="text/css">.rechts {text-align:right;}</style>
My WedDataGrid Code:Dim neueSpalte As New Infragistics.Web.UI.GridControls.BoundDataFieldneueSpalte.Header.CssClass = "rechts" '<--- work fineneueSpalte.CssClass = "rechts" '<-- Do nothingI can align the ColumnHeader, but not the Value in the Grid.Why?