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
45
Read-only column and clickable button
posted

Hello all!

 I'd like to know if it's possible to have a read-only column that has an EditButton inside it. Actually if the column is Read-only the button doesn't appear so the user cannot click it.

Our main purpose is to have a "controllable dropdownlist" that can be launched from every inserted button, without letting the user to manually edit data.

Is that possible?

Many thanks in advance,

 Ignasi

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Hi Ignasi,

        Are you using an EditorButton in the cell with an Editor? Or are you using the EditButton Style for the column?  

        I was able to get this to work using an EditorButton by setting the following: 

         e.Layout.Bands[0].Columns["String 1"].CellActivation = Activation.ActivateOnly;
         e.Layout.Bands[0].Columns["String 1"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;

Children