Hi, We are in process of upgrading Infragistics V 5.3 to InfragisticsV11.2 (latest)
for the following code sample I can update UltraWebGrid to WebDataGrid. But How Can I pass "Columns" as I dont see anything like "WebDataGrid.GridColumn" and same with Rows also I think. Please Help
Public Sub SetGridNotRequired(ByRef PCGrid As UltraWebGrid.UltraWebGrid, _Optional ByVal Col As UltraWebGrid.UltraGridColumn = Nothing)
Try If something Then If IsNothing(Col) Then 'Set all the columns based on one field PCGrid.DisplayLayout.HeaderStyleDefault.BackColor = Drawing.Color.Tan Else 'Set the individual column only Col.Header.Style.BackColor = Drawing.Color.Tan End If End If
Catch ex As ExceptionEnd TryEnd Sub
Hi jignesh352,
The WebDataGrid has its classes defined in the Infragistics.Web.UI.GridControls namespace. Not off of WebDataGrid. Rows in the WebDataGrid are GridRecord and in the WebHierarchicalDataGrid they are ContainerGridRecord. Columns are ControlDataField at the highest level. They also all are GridField.
Styling for the WebDataGrid is css based. You'll need css classes with your styles.
regards,David Young
Hi David,
Thanks for the quick to the point reply. Can you Guide me bit more here, there were "AllowUpdate" Property for Columns in the old Ultragrid, is there anything similar in WebDataGrid's GridField/ControlDataField which I dont see.