mdDataTable icon indicating copy to clipboard operation
mdDataTable copied to clipboard

Button inside mdt-row

Open ildefonso opened this issue 8 years ago • 2 comments

Can I use a inside custom mdt-custom-cell ???

I tried but it gives me an errror:

angular.js:13708 Error: [ngTransclude:orphan] http://errors.angularjs.org/1.5.7/ngTransclude/orphan?p0=%3Cbuttonlass%3D%22md-button%20ng-scope%22%20type%3D%22button%22%20ng-transclude%3D%22%22%3E

ildefonso avatar Dec 09 '16 18:12 ildefonso

I'm having the same issue.

Looks like this is covered over on issue #153

meetbryce avatar Dec 10 '16 04:12 meetbryce

for example, you can use following mdt-custom-cell-button:

<mdt-custom-cell column-key="preview" html-content="true"> <mdt-custom-cell-button class="md-icon-button" style="cursor: pointer" ng-click="clientScope.myMethodToExecute(rowId)" aria-label="More"> <i class="material-icons"><i class="material-icons">visibility</i></i> </mdt-custom-cell-button> </mdt-custom-cell>

offwork avatar Dec 28 '16 11:12 offwork