public frmAppointment() { InitializeComponent(); presenter = new AppoinmentPresenter(); presenter.AppView = this; presenter.loadAppointmentList(); GridView gridView = grdconALAppointment.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["APP_CODE"].SortOrder = DevExpress.Data.ColumnSortOrder.Descending; }
private void frmAppointment_Activated_1(object sender, EventArgs e) { table.Rows.Clear(); presenter.loadAppointmentList(); }