Hi,
What is best way to create a column with some text and an image button.
Thanks
Abhishek
is there a perticular style defined in Infragistics.Win.UltraWinGrid.ColumnStyle for embeded column. Please suggset. Any one.
Hello,
Could you please try the following code sample:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns[0].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.EditButton; e.Layout.Bands[0].Columns[0].CellButtonAppearance.Image = SystemIcons.Asterisk.ToBitmap(); }
Please do not hesitate to contact us if you need any additional assistance.
Hi Boris
Thanks for reply.
I have tried the above code. the code provide the image on mouse hover. but I require it in each row.
I tried to set CellAppearance.Image that worked fine but could not find the click event for the Image. CellClick event is available but i require the click of the image. Can you guide me further.
Abhishek Goel
additional information, i need the button for row deletion, do not want to enable Edit mode.
Any suggestions..............
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
Hi
I have reviewed the code, I need similar image button only in one cell only. but i need that button to delete the row, so the content of cell should not be editable.
Hope now you clear the requirement.
Hi .. ya my problem was resolved from the code sample shared by you.
thanks
I am just checking about the progress of this issue. Please let me know If you need my further assistance on this.
Hello Abhishek,
Could you please review the modified sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.