SVN r373
SVN-Revision: r373
This commit is contained in:
@@ -651,6 +651,11 @@ namespace Lskj.Control
|
|||||||
gridColumn.Tag = model;
|
gridColumn.Tag = model;
|
||||||
gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList;
|
gridColumn.OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList;
|
||||||
gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
gridColumn.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
||||||
|
if (model.DataAlignment > 0)
|
||||||
|
{
|
||||||
|
gridColumn.AppearanceCell.Options.UseTextOptions = true;
|
||||||
|
gridColumn.AppearanceCell.TextOptions.HAlignment = model.DataAlignment == 1 ? DevExpress.Utils.HorzAlignment.Center : DevExpress.Utils.HorzAlignment.Far;
|
||||||
|
}
|
||||||
if (EnabledChangeColor)
|
if (EnabledChangeColor)
|
||||||
{
|
{
|
||||||
if (!model.Edit)
|
if (!model.Edit)
|
||||||
|
|||||||
Reference in New Issue
Block a user