private void main_ultraGrid_AfterRowRegionScroll(object sender, RowScrollRegionEventArgs e) { if (e.RowScrollRegion.ScrollPosition + e.RowScrollRegion.VisibleRows.Count > this.sf_master.sourceDT.Rows.Count - 1) { int rowsAdded = this.sf_master.Add_XBRLrows_to_DT(); UltraGrid_helper.AutoResize(this.main_ultraGrid); if (rowsAdded == 0) { this.SetGird_sortFilter(this.sf_master.ViewData_match_flag); } } }
private void Grid_AfterRowRegionScroll(object sender, RowScrollRegionEventArgs e) { UltraGridRow firstRow = this.ActiveRowScrollRegion.FirstRow; if ((!(firstRow is UltraGridGroupByRow) && !this.GridLoading) && ((firstRow.Index + this.ActiveRowScrollRegion.VisibleRows.Count) >= this.Rows.Count)) { this.m_StartRow += this.m_PageSize; if ((this.m_StartRow < ((this.m_PageSize + this.Rows.Count) + 1)) && (this.m_StartRow >= this.Rows.Count)) { this.Refill(this.m_StartRow); } } }
private void gridViewWaste_AfterRowRegionSize(object sender, RowScrollRegionEventArgs e) { this.HideEditControls(); }