aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

Event binding of template column is not working #59

Closed vipintme closed 7 years ago

vipintme commented 7 years ago

We have implemented implemented the grid using aurelia-syncfusion-bridge. We have added a template column for showing the edit button

`<ej-column e-field="userId" e-header-text="Edit" e-text-align="center" e-on-record-click.delegate="openUser()">
                    <ej-template>
                        <div><button class="btn btn-info"   click.delegate="openUser()"><span class="glyphicon glyphicon-pencil"></span></button> </div>
                    </ej-template>
                </ej-column>`

In the view model , We have defined the openUser() method. The event binding of this button is not working.When cliking this button, we are getting error that "openUser is not a function". We are developed the application using aurelia+ webpack

karthickthangasamy commented 7 years ago

@vipintme confirmed this as bug and provide you the solution at the earliest.

karthickthangasamy commented 7 years ago

This issue fixed with latest aurelia-syncfusion-bridge@0.8.0