Beispiel #1
0
        private void loadSPTheoMaHang()
        {
            var dt = hh.GetDataSPTheoNCC(maNCC);

            GridLookUpMaHang.DataSource = dt;

            GridLookUpMaHang.ValueMember   = "MaSP";
            GridLookUpMaHang.DisplayMember = "MaSP";

            colMaSP.ColumnEdit = GridLookUpMaHang;
        }
Beispiel #2
0
        private void loadSPTheoMaHang()
        {
            var dt = hh.GetDataSPTheoNCC(maNCC);

            GridLookUpMaHang.DataSource = dt;

            GridLookUpMaHang.ValueMember   = "MaSP";
            GridLookUpMaHang.DisplayMember = "MaSP";

            colMaSP.ColumnEdit = GridLookUpMaHang;

            GridLookUpMaHang.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
            gridView1.BestFitColumns();
        }