Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:29 AM
Hello is there any way to use the widget of data table and put breadcrumbs in it ?
like in the backend ?
i want the user to be able to filter by the fields and values that he want
thanks!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 05:59 AM
Yes, this is possible when setting the table up from the server script using the show_breadcrumbs and enable_filter parameters. An example:
data.incident_list = $sp.getWidget("can-widget-data-table", {
table: 'incident',
window_size: listSize,
keywords: '', // This parameter is used to query the 123TEXTQUERY321 field
filter: securityIncFilter,
//fields:'number', // This is not nessecary as fields displayed are dictated by the view
//hide_header: true,
view: 'default',
o: 'name',
d: 'asc',
p: 1,
show_breadcrumbs: true,
enable_filter: true
});
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 06:53 AM
Excellent. Glad it worked for you and thank you for accepting the solution.