Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
set the mode
posted

Hi,

i have a grid, an i want to set the mode... now can i insert new rows etc...

how can i set the mode to "just select "???

 

 

thx

  • 20872
    Offline posted

    Hello Banille,

    I am still following this forum thread.

    If you have any other questions with this matter, please feel free to let us know.

     

  • 20872
    Offline posted

    Hello Banille,

    If you would like to select row or cell, one you are using your mouse and clicking over the UltraGrid you could use CellClickAction property of the Override object in the InitializeLayout event of your UltraGrid like:

     void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
    {
    //setting the cellclickAction to be CellSelect
    e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
    //or setting it to Row Select like
    e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
    }

    If you have any other questions please feel free to ask.