FullRowSelect in DataGrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jassim Rahma

    FullRowSelect in DataGrid

    Hi,

    How can I FullRowSelect in DataGrid using C#?

    Many Thanks,
    Jassim Rahma

    *** Sent via Developersdex http://www.developersdex.com ***
  • Maqsood Ahmed

    #2
    Re: FullRowSelect in DataGrid

    Hello,
    On mouse click, get the active rowIndex and call DataGrid.Select (int
    rowIndex) method.

    HTH. Cheers :)
    Maqsood Ahmed [MCP,C#]
    Kolachi Advanced Technologies


    *** Sent via Developersdex http://www.developersdex.com ***

    Comment

    • Maqsood Ahmed

      #3
      Re: FullRowSelect in DataGrid

      Hello,
      On mouse click, get the active rowIndex and call DataGrid.Select (int
      rowIndex) method.

      HTH. Cheers :)
      Maqsood Ahmed [MCP,C#]
      Kolachi Advanced Technologies


      *** Sent via Developersdex http://www.developersdex.com ***

      Comment

      • Jassim Rahma

        #4
        Re: FullRowSelect in DataGrid

        Thanks..

        But this will change only when using the mouse.. so if I want to have
        the same when user uses the keyboard I should add it to the KeyUp?
        right?


        Many Thanks,
        Jassim Rahma

        *** Sent via Developersdex http://www.developersdex.com ***

        Comment

        Working...