Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
Jun 1

Written by: Steve Gray
6/1/2010 5:08 PM  RssIcon

I have a grid where I need to keep a checkbox from being selectable based on a column status. Here’s how to do that.

Go into the properties for the column and turn on ‘Act as selector’

    Private Sub GridEX1_EditingCell(ByVal sender As Object, ByVal e As Janus.Windows.GridEX.EditingCellEventArgs) Handles GridEX1.EditingCell
        Dim strSopnumber As String = ""
        If e.Column.ActAsSelector Then
            strSopnumber = Me.GridEX1.GetValue("sopnumbe").ToString.Trim
            If strSopnumber = "" Then
                globalMessageBox("Only SOP documents are printable from this window")
                e.Cancel = True
            End If
        End If
    End Sub

Tags:
Categories:
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us