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.
I'm using a Grid as a ListView in a dialog and I'm using only Row Selection. Each Row has an Object associated to it via Cell(,0).Tag.
My question is how do I get access to my selected tagged object? In looking at previous posts and the documention, I see how I can get a range object covering the selected cells. Unfortunately, I don't see how I use the GridRangeInfo object to pluck the value out of the cell. I searched the samples hoping to see how the GetFirstCell() and GetNextCell() methods are used but didn't get any hits.
I have also looked at simply using the GridListControl instead, but my objects have lots of properties that I don't want to expose to the GUI via the control. The sample for GridListControl doesn't show how to use CreateGridColumn() method so I can add just the columns I need.
Thanks,
Rollan
ADAdministrator Syncfusion Team October 10, 2002 04:16 PM UTC
Rollan,
The GridRangeInfo object has a Top member that will return the top row of a range of rows (as well as a Bottom member). Once you have the row number, you can use it as an index into the Cell(row,0).Tag.
Post again if you need more information.
Clay
RMRollan MoskoOctober 10, 2002 07:14 PM UTC
Hi Clay,
The .Top member did the trick for me. It turns out Top() is undocumented in my class reference documentation. I'll pay closer attention to the tooltips now.
thanks,
Rollan