• Post Reply Bookmark Topic Watch Topic
  • New Topic

ANGULAR - md-menu-item inside <td> not working

 
Manju R Sankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have menus which is listed in Table row using ng-repeat (angular).

There are ng-click functions inside the md-menu-item. that functions are not called by them..


Need to know what is the issue.

and also will it work or not.
 
Stephan van Hulst
Bartender
Posts: 6534
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show the relevant part of your template?
 
Manju R Sankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Manju R Sankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manju R Sankar wrote:
 
Stephan van Hulst
Bartender
Posts: 6534
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure you want a <div> and not an <md-menu-item>?

I also think your ng-click should read showAddress()
 
Manju R Sankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah.. tried with md-menu-item also.. but not working....

if the method is outside md-menu, then it is working...
 
Manju R Sankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out the reason..

If there is sticky-table-header in table , md-menu-item not working.

Can't find the FIX.


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!