Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I have used the server side processing for the angular datatables but it's not populating the data. Debug link: http://debug.datatables.net/edivom

vm.dtOptions = DTOptionsBuilder
        .newOptions()
        .withOption('ajax', {
            url: config.base_url + 'report/voucher?module=Vouchers&type=Total Voucher Report&merchant=1',
            type: 'POST',
            dataSrc: 'data.data[0].reportData',
        })
        .withOption('processing', true)
        .withOption('serverSide', true)
        .withBootstrap()
        .withPaginationType('full_numbers');

    vm.dtColumns = [
        DTColumnBuilder.newColumn('buyDate','Buy Date'),
        DTColumnBuilder.newColumn('dealCategory','dealCategory'),
        DTColumnBuilder.newColumn('expiryDate','expiryDate'),
        DTColumnBuilder.newColumn('id','id'),
        DTColumnBuilder.newColumn('identifier','identifier'),
        DTColumnBuilder.newColumn('isBlocked','isBlocked'),
        DTColumnBuilder.newColumn('merchantName','merchantName'),
share|improve this question
    
Possible duplicate of How to use this json with angular datatables – davidkonrad Feb 24 at 12:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.