ng-Click on responsive mode

ng-Click on responsive mode

FatjonSAJAFatjonSAJA Posts: 1Questions: 1Answers: 0

Hi,

I have a datatable populated it with data and there is a column for actions. I populated this column with html string

" <button ng-click='vm.print(10)' title='Print' class='btn'>"+
"<i class='fa fa-eye'></i>"+
"</button>"

and on _createdRow _event i compiled it as below:

**"createdRow": function (row, data, index) {
$compile(row)($scope); //add this to compile the DOM
//$compile(table.contents())($scope);
} **

this one is working ok, but the problem is when i minimize the windows and the datatable minimize (or opened from mobile) and shows only some columns and other columns are under plus list. as part of this list is the action column. when i try to click on it, it will not rise any events.

Any Idea please.

Thanks.

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.