I try to create a custom command ultrawingrid column that includes some ultrabuttons such as "edit button", "delete button", "show detail button"....
I want to add this column to grid at runtime.
I need your urgent help!
I'm not sure what your question is? What part of this is giving you trouble? You can add unbound columns to the grid using the band.Columns.Add method. You would typically do this in the InitializeLayout event. Then you can set the Style of the column to button. If you want text on the buttons, use the InitializeRow event and set the Value of the cell to the text you want.
I try to create some custom columns.
In in the InitializeLayou event of my code is:
band.Columns.Add("Commands", "Action");
colSelect.DataType = typeof(Boolean);UltraGridColumn
colCommand = band.Columns["Commands"];
colCommand.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
colSelect.CellActivation = Activation.AllowEdit;
btnEdit.Text = "Edit";
colCommand.DefaultCellValue = btnEdit;
----
When I run he project and open this gridview, I can not change the checkbox value and I can not see any button in "Command"columns.
I accede any solution for that problem but what I asked above is different. If I want to add two buttons and one combobox in one cell. How can I do it in ultrawingrid?