I can get the cell value in code file. but cell value is not displayed in the grid.
Refer tge below code
Protected Sub UGrid_ClickCellButton(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.CellEventArgs) Handles UGrid.ClickCellButton Dim cellVal1 As Object Dim cellVal2 As Object
cellVal1 = UGrid.DisplayLayout.ActiveRow.Cells(1).Value Dim ActiveRow As Integer ActiveRow = Val(UGrid.DisplayLayout.ActiveRow.Index) Dim celltxt As String Dim celldata As String Dim Category As String Dim SubCategory As String Category = UGrid.DisplayLayout.ActiveRow.Cells(1).Value SubCategory = UGrid.DisplayLayout.ActiveRow.Cells(2).Value celltxt = UGrid.DisplayLayout.ActiveRow.Cells(3).Value celldata = UGrid.DisplayLayout.ActiveRow.Cells(4).Value If e.Cell.Column.Key = "Add" Then UGrid.DisplayLayout.Bands(0).AddNew() UGrid.Rows(UGrid.Rows.Count - 1).Cells(0).Value = "+" UGrid.Rows(UGrid.Rows.Count - 1).Cells(1).Value = Category UGrid.Rows(UGrid.Rows.Count - 1).Cells(2).Value = SubCategory UGrid.Rows(UGrid.Rows.Count - 1).Cells(3).Value = celltxt UGrid.Rows(UGrid.Rows.Count - 1).Cells(4).Value = celldata UGrid.DisplayLayout.Bands(0).AllowUpdate = Infragistics.WebUI.UltraWebGrid.AllowUpdate.Yes
End If
Hi DayanaArul,
I am following up to check whether your issue has been resolved. Please contact me if you require further assistance.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Your issue is very likely caused by the Text property of row cells not being set as the UltraWebGrid displays the value of the Text property for each cell.
Can you ensure that the value of the Text property is set to the value of the Value property ?
Please tell me if this helps.
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support