RishiKumar2210
Active Member
Sub B4XTable1_DataUpdated
For i = 0 To B4XTable1.VisibleRowIds.Size - 1
Dim pnl As B4XView = c1.CellsLayouts.Get(i+1)
If pnl.GetView(c1.LabelIndex).Text="Total" Then
' If pnl.GetView(c1.LabelIndex).Text.Contains("Total") Then
pnl.GetView(c1.LabelIndex).Font = xui.CreateDefaultBoldFont(32)
Else
pnl.GetView(c1.LabelIndex).Font = xui.CreateDefaultFont(16)
End If
Next
End Sub
Can I Make text As Bold for particular columns of two rows using above code snippet?
For i = 0 To B4XTable1.VisibleRowIds.Size - 1
Dim pnl As B4XView = c1.CellsLayouts.Get(i+1)
If pnl.GetView(c1.LabelIndex).Text="Total" Then
' If pnl.GetView(c1.LabelIndex).Text.Contains("Total") Then
pnl.GetView(c1.LabelIndex).Font = xui.CreateDefaultBoldFont(32)
Else
pnl.GetView(c1.LabelIndex).Font = xui.CreateDefaultFont(16)
End If
Next
End Sub
Can I Make text As Bold for particular columns of two rows using above code snippet?