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
926
Deselect Firstrow in the ultrawingrid
posted

Hello,

First Question:

Once I am done databinding the grid, the data is dipslayed in the grid with its first row selected always.
Is there a way where I can remove this behaviour of the grid ? I want to display data without the first row getting selected.

Second question: few text in one of the columns in the grid is too long.And when I try to use ( AutoFitStyle=AutoFitstyle.ResizeAllCoumns) the text is not wraped.Instead it shows half of the text.How can I view the entire text  ?

Please advice.

Thanks

Manjusha

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Manjusha,

         

    Manju00 said:
    Once I am done databinding the grid, the data is dipslayed in the grid with its first row selected always.
    Is there a way where I can remove this behaviour of the grid ? I want to display data without the first row getting selected.

    FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.

       

    Manju00 said:
    Second question: few text in one of the columns in the grid is too long.And when I try to use ( AutoFitStyle=AutoFitstyle.ResizeAllCoumns) the text is not wraped.Instead it shows half of the text.How can I view the entire text  ?
     

        AutoFitStyle fits the columns to the width of the grid. It does not size the columns to fit the text. What you want is the PerformAutoResize method on the column. Be sure to use the overload of this method that takes an enum and pass in AllRowsInBand.  

Children