Site Search:
Sign in | Join | Help
4Penny.net

Janus System

All things for all Janus products

May 2007 - Posts

  • Navigate to a specific row in a Janus Grid

    To select a row, use the Row property of the grid or use the MoveTo method. i.e.

       'If you know the position of the row to be selected do:
       GridEX1.Row = rowPosition

       'If you have a reference of the datarow you want to select do:
       Dim row As GridEXRow

       row = GridEX1.GetRow(myDataRow)

       if Not (row Is Nothing) Then
          GridEX1.MoveTo(row)
      End If

     When using Row or MoveTo, the control will automatically scroll to show the selected row.

  • GridEx Button Columns

    How to determine which button was clicked if there is more than 1 button in a row:
    The key is defined when adding the column.

    private sub ColumnButtonClick(ByVal sender As Object, ByVal e As Janus.Windows.GridEX.ColumnActionEventArgs) Handles grdPeople.ColumnButtonClick

     If e.Column.Key = "firstButton" Then
      

     End If

    If e.Column.Key = "secondButton" Then

    End If

    end sub

  • Janus CalendarCombo issue

    To fix the bug where there is significant amounts of extra white space in the calendarCombo, change the "useCompatibleTextRendering" property to true and build the application.  After you set the property back to false it should display correctly. 

     

More Posts Next page »