This post is similar to the last, but this time we have a check box column in the grid, and we want to loop through only the selected items.
Dim griditem As ComponentArt.Web.UI.GridItem
Dim strSopnumber As String
Dim selectedItems As ComponentArt.Web.UI.GridItemCollection
selectedItems =
Me.gridex1.GetCheckedItems(Me.gridex1.Levels(0).Columns("selected"))
For Each griditem In selectedItems
strSopnumber = griditem(
"sopnumbe")
Next
About Steve Gray
Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.