Exemplo n.º 1
0
        /// <summary>
        /// If table has <see cref="FixedHeader"/> enabled, it will scroll position to the provided row.
        /// </summary>
        /// <param name="row">Zero-based index of table row to scroll to.</param>
        /// <returns>A task that represents the asynchronous operation.</returns>
        public ValueTask ScrollToRow(int row)
        {
            if (FixedHeader)
            {
                return(JSRunner.FixedHeaderScrollTableToRow(ElementRef, ElementId, row));
            }

            return(ValueTask.CompletedTask);
        }