Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151397 | Feb 10,2020 02:14 PM UTC | Feb 24,2020 05:44 AM UTC | WinForms | 3 |
![]() |
Tags: SfDataGrid |
Private Sub BtnGetValue_Click(ByVal sender As Object, ByVal e As EventArgs)
txtColumnValue.Text = String.Empty
For Each records In sfDataGrid.View.Records
Dim datarowview = TryCast(records.Data, OrderInfo)
If datarowview.IsShipped = True Then
txtColumnValue.Text &= datarowview.CustomerName
End If
Next records
End Sub |
Hi Sulthan,Thank you for contacting Syncfusion Support.We have analyzed your query. Your requirement “to get specific column value when checked row is true"can be achieved by using SfDataGrid.View.Records. Please refer the below code snippet.
Private Sub BtnGetValue_Click(ByVal sender As Object, ByVal e As EventArgs)txtColumnValue.Text = String.EmptyFor Each records In sfDataGrid.View.RecordsDim datarowview = TryCast(records.Data, OrderInfo)If datarowview.IsShipped = True ThentxtColumnValue.Text &= datarowview.CustomerNameEnd IfNext recordsEnd SubPlease find sample for the same from the below link,If we misunderstood your requirement, please provide more information regarding the requirement. This would help us to proceed further.Regards,Vijayarasan
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.