/// <summary> /// If table has <see cref="FixedHeader"/> enabled, it will scroll position to the provided pixels. /// </summary> /// <param name="pixels">Offset in pixels from the top of the table.</param> /// <returns>A task that represents the asynchronous operation.</returns> public ValueTask ScrollToPixels(int pixels) { if (FixedHeader) { return(JSRunner.FixedHeaderScrollTableToPixels(ElementRef, ElementId, pixels)); } return(ValueTask.CompletedTask); }