Datasource Single item override DataSource.GET(id)

2 posts, 0 answers
  1. florim
    florim avatar
    1 posts
    Member since:
    Aug 2007

    Posted 02 Aug 2013 Link to this post

    I have DataSource like this:

    var contactDataSource = new{
            transport: {
                tbl: azureService.client.getTable('CRContact'),
                read: function (options) {
          { SearchString:[0].value}).done( 
                        function (d) {
                        }, function (err) {
    serverFiltering :true,
            schema: {
                    id: "id",
    I need so when i use datasource.get(4) to call this example
    this.tbl.lookup(idThatISendAsParameter).done(function (result) {
    }, function (err) {
    how can i override the get function.

    Sorry for my bad English.

  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 06 Aug 2013 Link to this post

    Hello Florim,

    I am afraid you cannot override the default behavior of the get dataSource function.

    Kind Regards,
    Petur Subev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top