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
335
EditButton Style only in Template- and AddRow
posted

Hi,

is there a way to display a cell in a certain column only in the TemplateAddRow and AddRow in EditButton style?

I tried e.Row.Cells(...).Style in the InitializeRow Event, but the Event doesn't get fired the way I expect.

Best regards
Franz-Richard

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Franz,

    Instead of InitializeRow, use InitializeTemplateAddRow:


            private void ultraGrid1_InitializeTemplateAddRow(object sender, InitializeTemplateAddRowEventArgs e)
            {
               e.TemplateAddRow.Cells["Int32 1"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.EditButton;
            } 

     

     

Children
No Data