I am using jqwidgets JS library and having one issue in displaying the dropdown under Year column. As can be seen in the code below, the Year column is not displaying the jqxDropdownList unless I click on it. For example, when I clicked on the first cell of Year column, it showed me the list as shown in the image here.
Just to clear things up, the current behaviour is that you click in a year field and a dropdown list appears, and you need to click again to drop down the list.
You are wanting just a single click in a year field to automatically dropdown the list, showing the available options.
As I suspect that the dropdown is not a standard HTML dropdown, this is likely to require specialised knowledge about jqwidgets to resolve the issue.
Are you wanting no click to happen at all, so that only hovering results in the dropdown being shown?
That seems result in poor usability, so I’m curious about what else you might intend.
I am basically looking for something like the default functionality - just like they have shown here:
Basically, I am wanting it to display the placeholder and a dropdown arrow so that users would know that they need to click there to see the drop down list of years. Right now, that is happening only when user clicks on that particular cell. I tried adding placeholder thing (https://jsfiddle.net/walker123/peguh5rt/91/)but it shows select item only when I click on the cell. I was hoping if it’s possible to show it as soon as the grid loads.
Okay, let’s see if I’m understanding you right. You want all of the dropdown lists to appear in the year column, closed, so that they can then click on the year they want to set and take action from there.
I think we’re on the same page now.
Going back to the original code, the createeditor function is where you currently have the code to create the dropdown list, but that only runs once you’ve clicked in the cell.
It seems clear that the code needs to be elsewhere, but I think that it’s going to require someone more familiar with jqwidgets to fully resolve the matter.
But I might have to figure out how to display a placeholder on the left side of dropdown icon saying Select a year or something similar instead of date.