Пример #1
0
        /// <summary>
        /// Removed the dataset at the specified index.
        /// </summary>
        /// <param name="dataSetIndex">Index of the dataset in the data list.</param>
        /// <returns>A task that represents the asynchronous operation.</returns>
        public async Task RemoveDataSet(int dataSetIndex)
        {
            dirty = true;

            Datasets.RemoveAt(dataSetIndex);

            if (initialized)
            {
                await JSModule.RemoveDataSet(ElementId, dataSetIndex);
            }
        }