akveo / akveo/ngx-admin

SmartTable Custom Action Problem for displaying Icons

Abierto
#5,821 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
25.7k
Forks
7.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Issue type

**I'm submitting a ...** (check one with "x")

* [X] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**

If you create custom action other than edit,remove,add. And if you add an icon, you will see that there is a problem of display. The icon is not in a row, but between rows.

**Expected behavior:**
The icon has to be in a row

**Steps to reproduce:**
Use smarttable, create custom action, add an icon to this action. Look the icon

![image](https://user-images.githubusercontent.com/30440458/104107287-51d1d480-52bb-11eb-8ab8-7c3f001835a1.png)

```
actions: {
add: false,
edit: false,
delete: false,
columnTitle: "Actions",
custom: [{ name: 'ourCustomAction', title: '' }],
position: 'right',
},
columns: {
id: {
title: 'ID',
type: 'number',
width: '7%'
},
....
...
```

### Other information:
Version : 2 Nov 2020

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.