This is the settings that i used in my ng2-smart-table

settings = {
actions:false,
noDatamessage: 'Loading...',
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
confirmCreate: true,
},
edit: {
editButtonConttent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
confirmSave: true,
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
columns:{
Name: {
title: 'Name',
type: 'string',
filter: {// here i want to create a custom textbox to alert the filtered 
data, how can i insert into the column
type: 'html',
valuePrepareFunction: (cell,row)=>{
return '<input #search type="text" placeholder="Search..." 
(keydown.enter)="onSearch(search.value)">'
}
},
},
email: {
title: 'email',
type: 'string',
// filter : false
},
phone: {
title: 'phone',
type: 'string',filter : false
},
}}


Or is there any possiblity for alerting the filtered content in the smart 
table.?? 

thanks in advance


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to