关于ultrawebgrid的列的样式

最近客户反馈回来很多问题,关于UI的或者一些功能层面的,但是都涉及到grid的操作。

this.GridRegistFileCategory.Columns.FromKey("IsNeedUpload").Width = 80;

this.GridRegistFileCategory.Columns.FromKey("Expirydate").DataType = System.Type.GetType("System.String").ToString();

this.GridRegistFileCategory.Columns.FromKey("Expirydate").Format = "yyyy-MM-dd";

this.GridVendorAndCategory.Columns.FromKey("IsImportant").AllowUpdate = AllowUpdate.Yes;

this.GridRegistFileCategory.Columns.FromKey("Attachment").CellStyle.Cursor = Infragistics.WebUI.Shared.Cursors.Hand;
this.GridRegistFileCategory.Columns.FromKey("Attachment").CellStyle.ForeColor = System.Drawing.Color.Blue;

objWebGrid.DisplayLayout.SelectTypeRowDefault = Infragistics.WebUI.UltraWebGrid.SelectType.NotSet;
objWebGrid.DisplayLayout.CellClickActionDefault = Infragistics.WebUI.UltraWebGrid.CellClickAction.Edit(SelectedRow);

posted @ 2013-04-02 16:36  kevin_h_wang  阅读(499)  评论(0编辑  收藏  举报