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

how to write event for cell selection? #107

Open
srivasmca opened this issue Dec 29, 2016 · 1 comment
Open

how to write event for cell selection? #107

srivasmca opened this issue Dec 29, 2016 · 1 comment

Comments

@srivasmca
Copy link

srivasmca commented Dec 29, 2016

for each selection of cell ,cell selection event should be occur and gives cell value row index and column index.
please help me.thanks in advance for any help

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40469591-how-to-write-event-for-cell-selection?utm_campaign=plugin&utm_content=tracker%2F609152&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F609152&utm_medium=issues&utm_source=github).
@MrH2H
Copy link

MrH2H commented Jan 3, 2017

Hi,Thank you very much for your last reply.
is this problem fixed?

maybe we can add html to cell selection.

 $('#setCellhtml').click(function() {
         	 var jS = sheetOrig.getSheet(),
             	   tds =jS.highlighted();
             	   loc = jS.getTdLocation(tds[0]),
             	   jshtml = '<a href="#" onclick=\'alert("Hello WickedGrid")\'>Click</a>';
             	   $(tds[0]).html(jshtml);
 });

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

2 participants