Filtering checkbox using computed list getting automatically checked Vuetify - vuetify.js

I have a multi select Vuetify checkboxes populated from list. I want to be able to search/filter checkboxes by the their label. When the label is searched using v-text-field, filtered checkboxes get automatically selected.
I want the checkboxes to be selected manually after filtering is completed.
Below is sample codepen for the issue.
`https://codepen.io/solarurja/pen/OJEpdXg`

Related

How to auto fill a field in Google Forms based on dropdown list?

I am trying to create a Google Form like this one with one drop-down list and two text fields(for now! If I get this down I would like to add drop downs instead of text fields).
Now I have manually added options in the drop down here.
Form
What I want is:
The drop down to dynamically pick values from a column called 'ID' in a Google Spreadsheet.
Sheet
Auto-populate the corresponding values from Vertical and Project from the sheet to the text fields in the form.
How can I go about doing these?

slick grid - unheck all rows for paging, sorting and search events

I am using SlickGrid with the checkbox selector plugin and the pagination plugin. I want to only allow the user to select rows for the current page. I noticed that slickgrid remembers values that the user selects on a previous page. Only when a user selects a row on the current page does it uncheck the rows on a previous page. Is it possible to uncheck all rows on a page change event.
Similarly if the user does a search I want to unselect all rows.
Same with sorting, unselect all rows for the grid when the user does a sort.
Is it possible to do this?
The checkbox selector plugin was not designed for pager. Whenever you set checkbox as selected using the plugin, it remembers the row indices _selectedRowsLookup of the grid and re-apply the formatting when the grid invalidates. Thus, it will be the same rows check/unchecked on each page.
To achieve what you want, you have to customize the plugin where you need to:
Add a flag/field isSelected to your dataset that store if a record is selected
Set the formatter to check the dataContext.isSelected instead of using the _selectedRowsLookup
Change the handleSelectedRowsChanged to modify the field isSelected to true or false with the correct reference on the current page.
To select the rows of current page, change handleHeaderClick to only modify the rows displayed using the current pagingInfo
To clear the selection, reset the isSelected field to false and invalidate the grid rows.

Jqgrid: Adding a column filter with multiselect checkboxes with and ok button just like excel data filter

I have a Jqgrid implementation which has a column filter with checkbox list. It works as expected but the problem is it triggers the search on every check/uncheck of the values in the checkbox list in the column filter. what I want is to let user check/uncheck as many values he/she wants and then have a "ok" button to trigger the search just like the image :Excel Implementation
autosearch should be set to false and use triggerToolbar() when you presse the button.

AutocompleteExtender inside gridview

I am using an autocomplete extender inside a gridview. Inside the gridview, I have a country dropdown. When I select a country, the states should be populated in the autocomplete extender using textbox.
I am able to populate the countries and states. But when I have multiple rows in the gridview,
I select a country in row 1 of the gridview.
But all the StatesTextbox are updated with the states based on this selection. i.e, I am not able to choose which textbox/row should be updated on Dropdown selected event.
Could anyone help me on this issue? Appreciate your response!!
I fixed this by setting the context key of the autocompleteextender to the dropdownlist selected value and retrieved the value when I typein something in the statesearch textbox.

jgGrid Search Dropdown Not Changing

This may be a followup to this question Possible to make jqGrid Search Box Stay on Page? - Or it may be unrelated because clicking the search button manually shows the same behavior.
We have a dynamically generated grid that is created by a) making an ajax request to get the grid columns based on a report id and then b) setting up the grid model and fetching the data. When the page loads initially, we pass in a starting report id, but there is a dropdown box on the page that lets the user change reports.
When the dropdown changes, I unload any existing grid, make the ajax request to get the columns, set up the grid model, and then get the data. The columns change, the data changes, and everything looks correct - except the search columns do not change in the search dropdown.
If I close the search box and reopen it, it still has the old search columns. Likewise, if I click the reset button or reload the entire grid.
I found it after a bit more poking around. I needed to set the recreateFilter option to true
prmSearch = {recreateFilter:true,multipleSearch:true,overlay:false,sopt:['cn','eq','ne','lt','le','gt','ge','in','ni','nc']};

Resources