public frmAccount() { InitializeComponent(); presenter = new AccountPresenter(); presenter.AccView = this; presenter.loadAccountList(); GridView gridView = grdconAMAccount.FocusedView as GridView; foreach (GridColumn col in gridView.Columns) { col.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains; } gridView.GroupPanelText = "Thả một tiêu đề ở đây để nhóm thông tin"; //gridView.Columns["EMP_CODE"].SortOrder = DevExpress.Data.ColumnSortOrder.Descending; }
private void frmAccount_Activated(object sender, EventArgs e) { table.Rows.Clear(); presenter.loadAccountList(); }