how to event selection in angularJS + datatable

how to event selection in angularJS + datatable

hunihuni Posts: 3Questions: 3Answers: 0
edited May 2019 in Free community support

I am using an AngularJS + Datatable.

I made a table by ngRepeat.
The table is a Datatable. following..
JS File

// DataTable component initialize
        $scope.exceptedFileListDtOptions = DTOptionsBuilder.newOptions()
                .withDOM('ftrip')
                .withOption ( 'select', true)
                .withBootstrap()
                .withBootstrapOptions({
                            pagination : {
                                classes : {
                                    ul : 'pagination pagination-sm'
                                }
                            }
                        })
                .withLanguageSource($rootScope.dtLocale)
                .withSelect({
                    style:    'multi+shift',
                    selector: 'td:last-child'
                });
        $scope.exceptedFileListDtColumns = [
                                            DTColumnDefBuilder.newColumnDef(1).withTitle('')
                                            .notSortable()
                                            .withClass('select-checkbox')];

_html FILE_

When I don't use datatable's selection, I use INPUT tag in <Td>.
First, now I use datatable' selection. but I don't know that how to call selectEntity(scmSourceInfo).
Could you please help me?

And next, When I open modal( table in modal), I want to select rows(scmSourceInfo.testTargetYN==true) already .
But like this....don't display selection info. why ?? please help me...

This discussion has been closed.