Open mkhoshnasib opened 6 years ago
+1. Thanks for the hack.
I need to create a multi select when add new row, Someone have implemented that ?
In the below code the editor part will do that.
settings: {
columns: {
age: {
title: 'Age',
editor: {
type: 'list',
config: {
selectText: 'Select',
list: [
{value: '1', title:'Option 1'},
{value: '2', title:'Option 2'},
{value: '3', title:'Option 3'},
{value: '4', title:'Option 4'},
],
},
}
filter: {
type: 'list',
config: {
selectText: 'Select',
list: [
{value: '1', title:'Option 1'},
{value: '2', title:'Option 2'},
{value: '3', title:'Option 3'},
{value: '4', title:'Option 4'},
],
},
},
},
}
}
it is a select but i need the ability user can select multiple options
@mkhoshnasib i have the same problem , could you please explain where did you put the CSS code to resolve the issue . thanks
having the same issue
i have the same issue. can you please share the complete css @mkhoshnasib
In my rows, I only see the value, I wan't to show the title instead for my select field. how???
Hi everyone. I'm facing an styling issue on ng2-smart-table.
Issue description
When setting.column.filter.type or setting.column.editor.type set to list, the size of dropdown gets bigger than text inputs like image below.
Steps to reproduce: Simply changing type to list like this.
I fixed this problem using these CSS:
and here is the result.
but I'm not sure if it's the best way.
I will be very happy if I know that how can I fix this issue on main project.