Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Emit event when datatable was created; That needed in other parent directives for example; #20

Merged
merged 1 commit into from
Jul 11, 2014

Conversation

VanDalkvist
Copy link
Contributor

Hi!

I forked your repository for adding small feature. I suggest throwing event with table Id when dataTable was created. It gives a lot of help for tracking it in another directive. It needed to predefine some columns and options which I will use for many tables.

For example:

I created some directive with template:

<table class="jq-table table table-bordered table-striped" datatable dt-options="tableOptions" dt-columns="tableColumns"></table>

And I would like to get access to dataTable element. With that event I can get table element by Id from event arguments.

If you accept my changes, Can you increase version of your release, please?

Many thanks!


Regards, Ivan

@l-lin l-lin merged commit f676868 into l-lin:dev Jul 11, 2014
@l-lin
Copy link
Owner

l-lin commented Jul 11, 2014

The new version v0.0.2 is out!

@VanDalkvist
Copy link
Contributor Author

Great thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants