Hi,
I have an ultragrid in a windows form.
I want to dock the grid to the form, so when I expand the form, there is no gap between the form and the grid.
I tried changing the Dock property of the Ultragrid to Fill and It still doesnt seem to work.
or may be I am doing it the wrong way.
Could you help me on this please and Please find attached image for details.
Thanks in Advance
Also, the rows in my grid are not editable.
And I tried adding this code,
grdEmployeeImageConfig.ActiveRow = grdEmployeeImageConfig.Rows[0]; grdEmployeeImageConfig.ActiveRow.Activate(); this.grdEmployeeImageConfig.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode);
How do i make the rows editable, so I can save values to the DB
Hello Vinu88,
Maybe one possible approach could be if you are using:
ultraGrid1.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns;
Please take a look at the attached vidoe file for more details.
Let me know if you have any questions
Regards
vinu88 said:How do i make the rows editable
Maybe you could try:
ultraGrid1.DisplayLayout.Override.CellClickAction = CellClickAction.Edit;
Let me know if you have any questions.
Hi Georgi,
Thank you.
My columns are still not editable.
I tried using e.Layout.Bands[0].Columns["ColumnName"].CellActivation = Activation.AllowEdit;
and it still wouldnt work.
Thanks,
Vinu
Hello Vinu,
It should works, but maybe something override this settings. Are you able to send us your sample with this behavior. I`ll be glad to research it for you.