Dear Syncfusion Team,
I have a requirement that I should export to SfDataGrid selected row data to excel sheet and should print the same selected row data.
I have a table :
class MyDetails
{
[PrimaryKey, AutoIncrement]
public int Id{get; set;}
public string Name{get; set;}
public int Age{get; set;}
public string Address {get; set;}
public string Mobile No{get; set;}
public string Occupation{get; set;}
public string Qualification{get; set;}
public string Mother{get; set;}
public string Father{get; set;}
public string MarriedSatue{get; set;}
public string Nationality{get; set;}
}
In SfDataGrid I will show only
| ID | NAME | Mobile No
|
| 1 | Alice | 123456789 |
| 2 | Bob | 123456789 |
| 3 | John | 123456789 |
Here if I select ID 2 I should export to excel and print selected row 2 table data (ID, Name, Age, Address, _, _, _, _, _, MarriedSatue, Nationality).
I have gone through the class document but I was not able to find the exact requirement sample.
It would be very helpful for me if you can be sent a sample to get the details of the selected row data to export and print.
Thanking in Anticipation.
Regards,
Tirumaleswara Reddy.