How can i customise the List view of Web Form . I want to add custom filter .i dont know where to customise this page
Hii @rik_sanchez
on the doctype_list.js
overrided listview.get_args() function
1 Like
@Manav_Mandli this works for the Web Form or on the doctype list ?
is it possible to provide a screenshot of where your filter is being used?
@Manav_Mandli
var searchBox = $('<input>').attr('id', 'search').attr('type', 'text').addClass('form-control input-with-feedback mb-3').attr('placeholder', 'Search...').css('margin', '10px 2px');
searchBox.appendTo(container);
searchBox.css('width', '25%');
searchBox.on('input', function () {
var searchText = $(this).val().toLowerCase();
tbody.find('tr').each(function () {
var rowText = $(this).text().toLowerCase();
if (rowText.includes(searchText)) {
$(this).show();
} else {
$(this).hide();
}
});
});
1 Like
is it possible to get the git hub link to get a better idea of the concept . or can you provide a ss of the web form?