private async Task GridRowTap(RowTapEventArgs e) { if (e.RowHandle >= 0) { this.Pltid = this._gridControl.GetCellValue(e.RowHandle, "Trnuid").ToString(); //IRowData rowData = this._gridControl.GetRow(0); //Console.WriteLine(this._gridControl.GetCellValue(e.RowHandle, "Sebeln")); if (this._rowHandle != -1 && this._rowHandle == e.RowHandle) { this._selectedCount += 1; if (this._selectedCount == 2) { //Todo //Grid Row Double Click Console.WriteLine(string.Format("Row Double Click : {0}", Pltid)); this._selectedCount = 0; //상세 화면이동 LIBR030ViewModel await SearchDetail(); } } else { this._rowHandle = e.RowHandle; this._selectedCount = 1; } } }
private async Task GridRowTap(RowTapEventArgs e) { if (e.RowHandle >= 0) { // this.Dlvynm = this._gridControl.GetCellValue(e.RowHandle, "Dlvynm").ToString(); // IRowData rowData = this._gridControl.GetRow(0); // this._lb1count = this._gridControl.GetCellValue(e.RowHandle, "Lb1Count").ToString(); // if (this._rowHandle != -1 && this._rowHandle == e.RowHandle) // { // this._selectedCount += 1; // if (this._selectedCount == 2) // { //Todo //Grid Row Double Click this._selectedCount = 0; await SearchDetail(); // } // } // else // { // this._rowHandle = e.RowHandle; // this._selectedCount = 1; // } } //this._gridControl.SelectedRowHandle; //선택된 row }
void degAverageGrosSalary_RowTap(object sender, RowTapEventArgs e) { // Disable row selection on row tapping var grid = sender as GridControl; if (grid.SelectedRowHandle > -1) { grid.SelectedRowHandle = -1; } }
void Handle_RowTap(object sender, RowTapEventArgs e) { if (dataGridView.EditorShowMode == EditorShowMode.Tap) { return; } var editFormPage = new EditFormPage(dataGridView, dataGridView.GetRow(e.RowHandle).DataObject); Navigation.PushAsync(editFormPage); }
private void Devgrid_RowTap(object sender, RowTapEventArgs e) { if (e.FieldName == "IncButton") { this.devgrid.BatchBegin(); invoiceViewModel.IncQuantity(e.RowHandle); devgrid.RefreshData(); this.devgrid.BatchCommit(); } else if (e.FieldName == "DecButton") { this.devgrid.BatchBegin(); invoiceViewModel.DecQuantity(e.RowHandle); devgrid.RefreshData(); this.devgrid.BatchCommit(); } }