             attrs = {}
             for field, i in @result.query.fields.models
                 attrs[field.id] = row[i]
-            new @result.query.modelClass(attrs)
+            new @result.query.src(attrs)
         )
 
     idForRow: (row) ->

            format: 'array', total_count: 't'
            start: @pageNum * @result.pageSize, limit: @result.pageSize,
            query: query, url: @result.query.url,
        }
        types = @result.query.fields.groupBy('queryAs')
        options.fields = _.pluck(types.field, 'id')    unless _.isEmpty types.field
        options.with   = _.pluck(types.optional, 'id') unless _.isEmpty types.optional

        Lanes.Models.Sync.perform('GET', options).then (resp) =>
            @result.total = resp.total

    modelAt: (index) ->
        @pageForIndex(index).modelAt(index)

    saveModelChanges: (model) ->
        page = @pageForIndex
        @_calculateCache() unless @idCache
