HTML Elements Forums General Discussions smart Data.Adapter

This topic contains 1 reply, has 2 voices, and was last updated by Avatar admin 2 weeks, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101682
    Avatar
    Dark Beccio
    Participant

    Hi, Could u explain the differences between initializing data source like this:

    dataSource: data

    And

    dataSource : new Smart.DataAdapter

    simply telling, what does Smart.DataAdapter do?

    TY

    #101684
    Avatar
    admin
    Keymaster

    Hi Dark Beccio,

    With dataAdapter data binding, you have more options to bind the Grid. More details about dataAdapter can be found here: https://www.htmlelements.com/docs/data-adapter/

    When you bind to an Array, the Grid internally creates a DataAdapter.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.