The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Using FAQ 5.36 (How can I make my grid never have an active edit cell and always select whole rows) I developed a new datagrid to handle multi-selections. That part works fine. In the datagrid the property "AllowSorting" is set to TRUE and therefore I can't simply iterate through my grid and check the IsSelected. My question now is, how do I know which rows are selected???
Thanks a lot
ADAdministrator Syncfusion Team October 21, 2002 02:39 PM
Try this. It will run you through the selected rows in a datagrid:
Dim varbook as variant
For Each varbook In Myform.Mydatagrid.SelBookmarks
Myform.Mydatagrid.Bookmark = varbook
Next varbook
Should give you all selected rows from the datagrid.
If you should know of any code that can make multiple selections in a datagrid using the mouse, I'll be happy to hear from you on nucklebag@yahoo.dk
Pete.
> Using FAQ 5.36 (How can I make my grid never have an active edit cell and always select whole rows) I developed a new datagrid to handle multi-selections. That part works fine. In the datagrid the property "AllowSorting" is set to TRUE and therefore I can't simply iterate through my grid and check the IsSelected. My question now is, how do I know which rows are selected???
>
> Thanks a lot
HBHeike BrackmannOctober 22, 2002 01:47 AM
Thanks but this doesn't help because I'm using VB.Net and there is no SelBookmarks.
Look at FAQ 5.36. There'll you find an example of how to select mutliple rows by mouse.
SHShajuMarch 14, 2018 07:28 AM
I'm using VB.Net
ARArulpriya Ramalingam Syncfusion Team March 15, 2018 06:28 AM
Hi Shaju,
Thanks for contacting us.
We already provided the sample in our online documentation. The samples can be downloaded from the below link. Please make refer the below UG link,