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!
Jul 20

Written by: Steve Gray
7/20/2009 3:21 PM  RssIcon

This code will allow a specific field to be editable in the new row in a Janus grid, but in the regular row it will not be editable. We do this by cancelling the edit in the 'EditingCell' event

Private Sub GridEX1_EditingCell(ByVal sender As Object, _ 
    ByVal e As Janus.Windows.GridEX.EditingCellEventArgs) Handles GridEX1.EditingCell
    Dim gridrow As Janus.Windows.GridEX.GridEXRow = Me.GridEX1.GetRow
    Dim strKey As String = e.Column.Key
 
 
    If gridrow.RowType = Janus.Windows.GridEX.RowType.Record And strKey = "itemnmbr" Then
        e.Cancel = True
 
 
    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