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
2715
different button on same column
posted

hi!

I have a grid with a button column, wich holds a button who's function is :

- insert new row - for the last row in the grid - has a "+" on it

- delete - for the other rows - has  an "x" on it

how could i implement this, because i've tried, and i keep getting in the same issue : the "+" remains in all newly inserted rows.

 

Thanks

  • 48586
    posted

    Hello,

     

    I am just checking about the progress of this issue. Did you solve your issue accordingly to the information that I provided you? Did you test the sample I have sent to you?

     

    Let me know if you need any further assistance.

     

    Thank you for using Infragistics Components.

  • 48586
    Suggested Answer
    posted

    Hello Marius,

     

    Based on your requirements and Brian suggestions I have created a simple sample to illustrate how you could achieve your goal.

     

    Please test the sample at your side and Let me know if you have any further questions or if I misunderstood your scenario.

    WinGridDifferentButton.zip
  • 69832
    Offline posted

    You didn't provide a lot of detail here about your implementation, so it is difficult to speculate about what might be causing the problem. I don;t know if this helps you but UltraGridRow exposes an 'IsAddRow' property, so I would think you would want to use that to determine whether the "+" or "x" is drawn.