Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional .data-Field for Ressource-TD #9

Open
taubmann opened this issue Feb 18, 2014 · 2 comments
Open

additional .data-Field for Ressource-TD #9

taubmann opened this issue Feb 18, 2014 · 2 comments

Comments

@taubmann
Copy link

to make the ressource-name clickable it would be helpful to add a data-field to the TD (around Line 4972: ...td data-id='" + id + "' class='fc-resourceName'...)

@deserted
Copy link

I found it simpler to add the data value to the TR, rather than to every TD
line 5257 becomes html += "<tr class='fc-resourcerow-" + id + "' data-rowid='" + id + "'>" +

you can then use the jquery selector $(this).parent().closest('tr').data('rowid'); to retrieve the id for the resource

@cmskit
Copy link

cmskit commented Jul 10, 2014

good idea!
thanks

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

No branches or pull requests

3 participants