jQuery UI Widgets Forums Grid Compile custom directive in grid cell?

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Compile custom directive in grid cell? #98320

    JellyRaptor
    Participant

    How can I get html with custom directives to compile by the time it gets presented in a cell using cellsrenderer? I’m noticing that it doesn’t have any problems wiring up directives like ng-click…am I just going to have to be limited to ng-* stuff?

    Here is a fiddle showing how within a cell, a custom directive isn’t getting evaluated. Outside the grid it works fine. Also in the adjacent cell ng-click has compiled as expected without issues.

    http://jsfiddle.net/1ah9ph8g/46/

    • This topic was modified 5 years, 8 months ago by  JellyRaptor. Reason: corrected jsfiddle link
    Compile custom directive in grid cell? #98386

    Hristo
    Participant

    Hello JellyRaptor,

    If you want to have a click event on one specific cell you could bind to cellclick event of the Grid.
    Could you clarify what you want to achieve?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.