Delete buttons in columns, how to do it?
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request => Please do not submit support request here
Current behavior tables without buttons in columns
Expected behavior deleting rows and sending something on click of button in colum
Reproduction of the problem
What is the motivation / use case for changing the behavior? make it more popular
Please tell us about your environment:
- Table version: 0.7.x
- Angular version: 2.0.x
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
<ngx-datatable
class='material'
[columns]="columns"
[columnMode]="'force'"
[headerHeight]="50"
[footerHeight]="50"
[rowHeight]="'auto'"
[limit]="10"
[rows]='rows'>
<ngx-datatable-column name="Name" [width]="300"></ngx-datatable-column>
<ngx-datatable-column name="Gender"></ngx-datatable-column>
<ngx-datatable-column name="Age"></ngx-datatable-column>
<ngx-datatable-column name="Options">
<button md-raised-button color="warn">Delete</button>
</ngx-datatable-column>
</ngx-datatable>
Nothings happens, can somebody write code for this? I would write ngFor and so on but this table is not very customizable and I need only this feature. Thanks in advance.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:31 (1 by maintainers)
Top Results From Across the Web
How to show edit delete button in one column? - Stack Overflow
I want to show Edit and Delete Button in one column But I am unable to do that. Let me share my code...
Read more >how to remove delete button from gridview column - MSDN
You need to remove the 3 button fields generated by the GridView and create template fields with 3 buttons in it. Set the...
Read more >Custom insert and delete column buttons
The default insert and delete row button type has only two options: Insert Row and Delete Row. So how to achieve the effect...
Read more >Is there any way to put Edit Delete and Add buttons to the ...
We noticed the demo site has an example about column command, but that can only put Edit Delete or Save Cancel into a...
Read more >Add Buttons To Delete Rows Excel VBA Macro - YouTube
In this video we will add buttons to each row with data in a worksheet, and assign another macro to each of them...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys, I can’t see any documentation on the customs templates ! Would be great to have one.
Any working example plunker and document with custom template will be helpful.