-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Is there a way to have an in-place edit link in a column ? #88
Comments
GT have 3 options:
PS it seems like a duplicate functionality to trigger pop-up either on pressing buttons in the buttons bar and in the row/cell, probably you have a good example and maybe I can see other profits from this proposal, if u can show this by providing a ref - would be great. |
For my use case I need a popup but I do not need an Edit button for two reasons: |
I think from this point of view/example u can do anything: columnOpts: [
{
render: (data, row, type) => (
<div>
<form method="post" action="">
<input type="hidden" name="action" value="forms"/>
<input type="hidden" name="id" value={row.id}/>
<div>{data}</div>
<button onClick={function(e) {
e.preventDefault();
console.log("I'm flying away... weeee");
console.log(data); // the cell data
console.log(row); // the entire row
console.log(type); // the column type ex.: title, description etc
}}>Send</button>
</form>
</div>), moreover as it is a closure you can see any data up-down. |
What I need is a way to invoke Gigtables edit dialog. |
I'd like to do something like this:
And when clicking "edit" - invoke editor just like "edit" button does in the top-left corner, but for selected row only.
The text was updated successfully, but these errors were encountered: