menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataTableDataSource - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataTableDataSource

    DataTableDataSource is a non UI component that consumes DataTable type data and processes data operations such as sorting, filtering and grouping. This can be applied to any data bound control to perform the data processing and data operations which saving developers time and effort in building the functionality themselves.

    Inheritance
    System.Object
    DataSource
    DataTableDataSource
    Implements
    System.IDisposable
    Inherited Members
    DataSource.AutoExpandGroups
    DataSource.BeginInit()
    DataSource.CanAddNew
    DataSource.CanCancelEdit
    DataSource.CancelEdit()
    DataSource.CanRemove
    DataSource.CommitEdit()
    DataSource.CurrentAddItem
    DataSource.CurrentEditItem
    DataSource.DeferRefresh()
    DataSource.DisplayItems
    DataSource.Dispose()
    DataSource.Dispose(Boolean)
    DataSource.editItem
    DataSource.EditItem(Object)
    DataSource.EndEdit()
    DataSource.EndInit()
    DataSource.Filter
    DataSource.FilterChanged
    DataSource.FilterPredicates
    DataSource.GetActiveComparer()
    DataSource.GetItemAt(Int32)
    DataSource.GetSourceListCollection()
    DataSource.GroupComparer
    DataSource.GroupDescriptors
    DataSource.Groups
    DataSource.IsAddingNew
    DataSource.IsDynamicBound
    DataSource.IsEditingItem
    DataSource.isInCommitEdit
    DataSource.isInEndeferal
    DataSource.Items
    DataSource.LiveDataUpdateMode
    DataSource.NotifyPropertyChangedHandler(Object, PropertyChangedEventArgs)
    DataSource.Refresh()
    DataSource.SetActiveComparer()
    DataSource.SortComparer
    DataSource.SortDescriptors
    DataSource.Source
    DataSource.SourceCollectionChanged
    DataSource.SourcePropertyChanged
    DataSource.SourceType
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.DataSource
    Assembly: Syncfusion.DataSource.WinForms.dll
    Syntax
    public class DataTableDataSource : DataSource, IDisposable

    Constructors

    DataTableDataSource()

    Initializes a new instance of the DataTableDataSource class.

    Declaration
    public DataTableDataSource()

    Methods

    AddNew()

    Adds a new item to the collection.

    Declaration
    public override object AddNew()
    Returns
    Type Description
    System.Object

    The new item that is added to the collection.

    Overrides
    DataSource.AddNew()

    CancelNew()

    Ends the add transaction and discards the pending new item.

    Declaration
    public override void CancelNew()
    Overrides
    DataSource.CancelNew()

    CommitNew()

    Ends the add transaction and saves the pending new item.

    Declaration
    public override void CommitNew()
    Overrides
    DataSource.CommitNew()

    GetValue(Object, String)

    Gets the value of property from the given object.

    Declaration
    protected override object GetValue(object item, string propertyName)
    Parameters
    Type Name Description
    System.Object item

    The object

    System.String propertyName

    Property name

    Returns
    Type Description
    System.Object

    The value

    Overrides
    DataSource.GetValue(Object, String)

    RefreshFilter()

    Refreshes the view when the filtering is applied using the FilterPredicates.

    Declaration
    public override void RefreshFilter()
    Overrides
    DataSource.RefreshFilter()

    Implements

    System.IDisposable

    Extension Methods

    QueryableCollectionViewExtensions.GetPredicateExpressionExt(DataSource, IQueryable, out ParameterExpression)
    QueryableCollectionViewExtensions.GetPredicateExpressionExt(DataSource, IQueryable, out ParameterExpression, String, Boolean)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved