Site Search:
Sign in | Join | Help

This Blog

Syndication

Tags

ComponentArt

Iterating through Selected Items in a ComponentArt grid

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

 

Published May 14 2007, 01:56 PM by Steve Gray
Filed under: ,

Comments

 

ComponentArt said:

Grid Iterating through Selected Items

April 6, 2009 10:06 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

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.