primefaces 6.1 select one menu is populated but refuses to show values
I am trying to filter using a Select One Menu using PrimeFaces 6.1. But the menu does not drop down to show its values. It acts as if it is disabled. I have wrapped my datable with <h:form>
and checked to see if the menu is populated in the browser inspect window.
Edit:
Here is the table:
<h:form>
<p:dataTable var="left" value="#{dataFilterView.leftGrid}"
widgetVar="leftTable"
filteredValue="#{dataFilterView.filteredLeftGrid}">
<ui:debug />
<p:column headerText="Project">
<h:outputText value="#{left.projectName}" />
</p:column>
<p:column headerText="Company">
<h:outputText value="#{left.companyName}" />
</p:column>
<p:column headerText="Location" filterBy="left.projectLocation">
<h:outputText value="#{left.projectLocation}" />
</p:column>
<p:column headerText="Request Name">
<h:outputText value="#{left.requestName}" />
</p:column>
<p:column headerText="Request Type" filterBy="#{left.requestType}"
filterMatchMode="exact">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('leftTable').filter()"
style="width:70%; box-sizing: border-box;">
<f:selectItem itemLabel="Select One" itemValue="#{null}"
noSelectionOption="true" />
<f:selectItems
value="#{dataFilterView.uniqueRequestTypes.entrySet()}"
var="data" itemValue="#{data.key}" itemLabel="#{data.value}" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="#{left.requestType}" />
</p:column>
</p:dataTable>
</h:form>
The ManagedBean is:
@ManagedBean(name = "dataFilterView")
@SessionScoped
public class DataFilterView {
private String reqType;
private List<LeftGridBean> leftGrid;
private List<LeftGridBean> filteredLeftGrid;
private List<String> uniqueLocations;
private Map<String, String> uniqueRequestTypes;
@ManagedProperty("#{supplierRequestsService}")
private SupplierRequestsService service;
@PostConstruct
public void init() {
leftGrid = service.populateLeftGrid();
}
public void setService(SupplierRequestsService service) {
this.service = service;
}
public List<LeftGridBean> getLeftGrid() {
return leftGrid;
}
public List<LeftGridBean> getFilteredLeftGrid() {
return filteredLeftGrid;
}
public void setFilteredLeftGrid(List<LeftGridBean> filteredLeftGrid) {
this.filteredLeftGrid = filteredLeftGrid;
}
public String getReqType() {
return reqType;
}
public void setReqType(String reqType) {
this.reqType = reqType;
}
public List<String> getUniqueLocations() {
Set<String> locations = new HashSet<>();
for (LeftGridBean lg : getLeftGrid()) {
locations.add(lg.getProjectLocation());
}
uniqueLocations = new ArrayList<String>(locations);
return uniqueLocations;
}
public Map<String, String> getUniqueRequestTypes() {
Map<String, String> requestTypes = new HashMap<>();
for (LeftGridBean lg : getLeftGrid()) {
requestTypes.put(lg.getRequestType(), lg.getRequestType());
}
uniqueRequestTypes = requestTypes;
return uniqueRequestTypes;
}
}
Domain:
public class LeftGridBean {
private String projectName;
private String projectLocation;
private String requestType;
private String requestName;
private String companyName;
public String getProjectLocation() {
return projectLocation;
}
public void setProjectLocation(String projectLocation) {
this.projectLocation = projectLocation;
}
public String getRequestType() {
return requestType;
}
public void setRequestType(String requestType) {
this.requestType = requestType;
}
public String getRequestName() {
return requestName;
}
public void setRequestName(String requestName) {
this.requestName = requestName;
}
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
}
and finally the service:
@ManagedBean(name="supplierRequestsService")
@SessionScoped
public class SupplierRequestsService {
@ManagedProperty("#{userManager}")
private UserManager usr;
public List<LeftGridBean> populateLeftGrid() {
List<LeftGridBean> lgbList = usr.getSupplierLeftGridData();
return lgbList;
}
public List<RightGridBean> populateRightGrid() {
List<RightGridBean> rgbList = usr.getSupplierRightGridData();
return rgbList;
}
public void setUsr(UserManager usr) {
this.usr = usr;
}
}
filter primefaces selectonemenu
|
show 6 more comments
I am trying to filter using a Select One Menu using PrimeFaces 6.1. But the menu does not drop down to show its values. It acts as if it is disabled. I have wrapped my datable with <h:form>
and checked to see if the menu is populated in the browser inspect window.
Edit:
Here is the table:
<h:form>
<p:dataTable var="left" value="#{dataFilterView.leftGrid}"
widgetVar="leftTable"
filteredValue="#{dataFilterView.filteredLeftGrid}">
<ui:debug />
<p:column headerText="Project">
<h:outputText value="#{left.projectName}" />
</p:column>
<p:column headerText="Company">
<h:outputText value="#{left.companyName}" />
</p:column>
<p:column headerText="Location" filterBy="left.projectLocation">
<h:outputText value="#{left.projectLocation}" />
</p:column>
<p:column headerText="Request Name">
<h:outputText value="#{left.requestName}" />
</p:column>
<p:column headerText="Request Type" filterBy="#{left.requestType}"
filterMatchMode="exact">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('leftTable').filter()"
style="width:70%; box-sizing: border-box;">
<f:selectItem itemLabel="Select One" itemValue="#{null}"
noSelectionOption="true" />
<f:selectItems
value="#{dataFilterView.uniqueRequestTypes.entrySet()}"
var="data" itemValue="#{data.key}" itemLabel="#{data.value}" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="#{left.requestType}" />
</p:column>
</p:dataTable>
</h:form>
The ManagedBean is:
@ManagedBean(name = "dataFilterView")
@SessionScoped
public class DataFilterView {
private String reqType;
private List<LeftGridBean> leftGrid;
private List<LeftGridBean> filteredLeftGrid;
private List<String> uniqueLocations;
private Map<String, String> uniqueRequestTypes;
@ManagedProperty("#{supplierRequestsService}")
private SupplierRequestsService service;
@PostConstruct
public void init() {
leftGrid = service.populateLeftGrid();
}
public void setService(SupplierRequestsService service) {
this.service = service;
}
public List<LeftGridBean> getLeftGrid() {
return leftGrid;
}
public List<LeftGridBean> getFilteredLeftGrid() {
return filteredLeftGrid;
}
public void setFilteredLeftGrid(List<LeftGridBean> filteredLeftGrid) {
this.filteredLeftGrid = filteredLeftGrid;
}
public String getReqType() {
return reqType;
}
public void setReqType(String reqType) {
this.reqType = reqType;
}
public List<String> getUniqueLocations() {
Set<String> locations = new HashSet<>();
for (LeftGridBean lg : getLeftGrid()) {
locations.add(lg.getProjectLocation());
}
uniqueLocations = new ArrayList<String>(locations);
return uniqueLocations;
}
public Map<String, String> getUniqueRequestTypes() {
Map<String, String> requestTypes = new HashMap<>();
for (LeftGridBean lg : getLeftGrid()) {
requestTypes.put(lg.getRequestType(), lg.getRequestType());
}
uniqueRequestTypes = requestTypes;
return uniqueRequestTypes;
}
}
Domain:
public class LeftGridBean {
private String projectName;
private String projectLocation;
private String requestType;
private String requestName;
private String companyName;
public String getProjectLocation() {
return projectLocation;
}
public void setProjectLocation(String projectLocation) {
this.projectLocation = projectLocation;
}
public String getRequestType() {
return requestType;
}
public void setRequestType(String requestType) {
this.requestType = requestType;
}
public String getRequestName() {
return requestName;
}
public void setRequestName(String requestName) {
this.requestName = requestName;
}
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
}
and finally the service:
@ManagedBean(name="supplierRequestsService")
@SessionScoped
public class SupplierRequestsService {
@ManagedProperty("#{userManager}")
private UserManager usr;
public List<LeftGridBean> populateLeftGrid() {
List<LeftGridBean> lgbList = usr.getSupplierLeftGridData();
return lgbList;
}
public List<RightGridBean> populateRightGrid() {
List<RightGridBean> rgbList = usr.getSupplierRightGridData();
return rgbList;
}
public void setUsr(UserManager usr) {
this.usr = usr;
}
}
filter primefaces selectonemenu
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45
|
show 6 more comments
I am trying to filter using a Select One Menu using PrimeFaces 6.1. But the menu does not drop down to show its values. It acts as if it is disabled. I have wrapped my datable with <h:form>
and checked to see if the menu is populated in the browser inspect window.
Edit:
Here is the table:
<h:form>
<p:dataTable var="left" value="#{dataFilterView.leftGrid}"
widgetVar="leftTable"
filteredValue="#{dataFilterView.filteredLeftGrid}">
<ui:debug />
<p:column headerText="Project">
<h:outputText value="#{left.projectName}" />
</p:column>
<p:column headerText="Company">
<h:outputText value="#{left.companyName}" />
</p:column>
<p:column headerText="Location" filterBy="left.projectLocation">
<h:outputText value="#{left.projectLocation}" />
</p:column>
<p:column headerText="Request Name">
<h:outputText value="#{left.requestName}" />
</p:column>
<p:column headerText="Request Type" filterBy="#{left.requestType}"
filterMatchMode="exact">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('leftTable').filter()"
style="width:70%; box-sizing: border-box;">
<f:selectItem itemLabel="Select One" itemValue="#{null}"
noSelectionOption="true" />
<f:selectItems
value="#{dataFilterView.uniqueRequestTypes.entrySet()}"
var="data" itemValue="#{data.key}" itemLabel="#{data.value}" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="#{left.requestType}" />
</p:column>
</p:dataTable>
</h:form>
The ManagedBean is:
@ManagedBean(name = "dataFilterView")
@SessionScoped
public class DataFilterView {
private String reqType;
private List<LeftGridBean> leftGrid;
private List<LeftGridBean> filteredLeftGrid;
private List<String> uniqueLocations;
private Map<String, String> uniqueRequestTypes;
@ManagedProperty("#{supplierRequestsService}")
private SupplierRequestsService service;
@PostConstruct
public void init() {
leftGrid = service.populateLeftGrid();
}
public void setService(SupplierRequestsService service) {
this.service = service;
}
public List<LeftGridBean> getLeftGrid() {
return leftGrid;
}
public List<LeftGridBean> getFilteredLeftGrid() {
return filteredLeftGrid;
}
public void setFilteredLeftGrid(List<LeftGridBean> filteredLeftGrid) {
this.filteredLeftGrid = filteredLeftGrid;
}
public String getReqType() {
return reqType;
}
public void setReqType(String reqType) {
this.reqType = reqType;
}
public List<String> getUniqueLocations() {
Set<String> locations = new HashSet<>();
for (LeftGridBean lg : getLeftGrid()) {
locations.add(lg.getProjectLocation());
}
uniqueLocations = new ArrayList<String>(locations);
return uniqueLocations;
}
public Map<String, String> getUniqueRequestTypes() {
Map<String, String> requestTypes = new HashMap<>();
for (LeftGridBean lg : getLeftGrid()) {
requestTypes.put(lg.getRequestType(), lg.getRequestType());
}
uniqueRequestTypes = requestTypes;
return uniqueRequestTypes;
}
}
Domain:
public class LeftGridBean {
private String projectName;
private String projectLocation;
private String requestType;
private String requestName;
private String companyName;
public String getProjectLocation() {
return projectLocation;
}
public void setProjectLocation(String projectLocation) {
this.projectLocation = projectLocation;
}
public String getRequestType() {
return requestType;
}
public void setRequestType(String requestType) {
this.requestType = requestType;
}
public String getRequestName() {
return requestName;
}
public void setRequestName(String requestName) {
this.requestName = requestName;
}
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
}
and finally the service:
@ManagedBean(name="supplierRequestsService")
@SessionScoped
public class SupplierRequestsService {
@ManagedProperty("#{userManager}")
private UserManager usr;
public List<LeftGridBean> populateLeftGrid() {
List<LeftGridBean> lgbList = usr.getSupplierLeftGridData();
return lgbList;
}
public List<RightGridBean> populateRightGrid() {
List<RightGridBean> rgbList = usr.getSupplierRightGridData();
return rgbList;
}
public void setUsr(UserManager usr) {
this.usr = usr;
}
}
filter primefaces selectonemenu
I am trying to filter using a Select One Menu using PrimeFaces 6.1. But the menu does not drop down to show its values. It acts as if it is disabled. I have wrapped my datable with <h:form>
and checked to see if the menu is populated in the browser inspect window.
Edit:
Here is the table:
<h:form>
<p:dataTable var="left" value="#{dataFilterView.leftGrid}"
widgetVar="leftTable"
filteredValue="#{dataFilterView.filteredLeftGrid}">
<ui:debug />
<p:column headerText="Project">
<h:outputText value="#{left.projectName}" />
</p:column>
<p:column headerText="Company">
<h:outputText value="#{left.companyName}" />
</p:column>
<p:column headerText="Location" filterBy="left.projectLocation">
<h:outputText value="#{left.projectLocation}" />
</p:column>
<p:column headerText="Request Name">
<h:outputText value="#{left.requestName}" />
</p:column>
<p:column headerText="Request Type" filterBy="#{left.requestType}"
filterMatchMode="exact">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('leftTable').filter()"
style="width:70%; box-sizing: border-box;">
<f:selectItem itemLabel="Select One" itemValue="#{null}"
noSelectionOption="true" />
<f:selectItems
value="#{dataFilterView.uniqueRequestTypes.entrySet()}"
var="data" itemValue="#{data.key}" itemLabel="#{data.value}" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="#{left.requestType}" />
</p:column>
</p:dataTable>
</h:form>
The ManagedBean is:
@ManagedBean(name = "dataFilterView")
@SessionScoped
public class DataFilterView {
private String reqType;
private List<LeftGridBean> leftGrid;
private List<LeftGridBean> filteredLeftGrid;
private List<String> uniqueLocations;
private Map<String, String> uniqueRequestTypes;
@ManagedProperty("#{supplierRequestsService}")
private SupplierRequestsService service;
@PostConstruct
public void init() {
leftGrid = service.populateLeftGrid();
}
public void setService(SupplierRequestsService service) {
this.service = service;
}
public List<LeftGridBean> getLeftGrid() {
return leftGrid;
}
public List<LeftGridBean> getFilteredLeftGrid() {
return filteredLeftGrid;
}
public void setFilteredLeftGrid(List<LeftGridBean> filteredLeftGrid) {
this.filteredLeftGrid = filteredLeftGrid;
}
public String getReqType() {
return reqType;
}
public void setReqType(String reqType) {
this.reqType = reqType;
}
public List<String> getUniqueLocations() {
Set<String> locations = new HashSet<>();
for (LeftGridBean lg : getLeftGrid()) {
locations.add(lg.getProjectLocation());
}
uniqueLocations = new ArrayList<String>(locations);
return uniqueLocations;
}
public Map<String, String> getUniqueRequestTypes() {
Map<String, String> requestTypes = new HashMap<>();
for (LeftGridBean lg : getLeftGrid()) {
requestTypes.put(lg.getRequestType(), lg.getRequestType());
}
uniqueRequestTypes = requestTypes;
return uniqueRequestTypes;
}
}
Domain:
public class LeftGridBean {
private String projectName;
private String projectLocation;
private String requestType;
private String requestName;
private String companyName;
public String getProjectLocation() {
return projectLocation;
}
public void setProjectLocation(String projectLocation) {
this.projectLocation = projectLocation;
}
public String getRequestType() {
return requestType;
}
public void setRequestType(String requestType) {
this.requestType = requestType;
}
public String getRequestName() {
return requestName;
}
public void setRequestName(String requestName) {
this.requestName = requestName;
}
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
}
and finally the service:
@ManagedBean(name="supplierRequestsService")
@SessionScoped
public class SupplierRequestsService {
@ManagedProperty("#{userManager}")
private UserManager usr;
public List<LeftGridBean> populateLeftGrid() {
List<LeftGridBean> lgbList = usr.getSupplierLeftGridData();
return lgbList;
}
public List<RightGridBean> populateRightGrid() {
List<RightGridBean> rgbList = usr.getSupplierRightGridData();
return rgbList;
}
public void setUsr(UserManager usr) {
this.usr = usr;
}
}
filter primefaces selectonemenu
filter primefaces selectonemenu
edited Nov 22 '18 at 3:17
Mallik Kumar
asked Nov 21 '18 at 14:02
Mallik KumarMallik Kumar
188217
188217
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45
|
show 6 more comments
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45
|
show 6 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413801%2fprimefaces-6-1-select-one-menu-is-populated-but-refuses-to-show-values%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413801%2fprimefaces-6-1-select-one-menu-is-populated-but-refuses-to-show-values%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
any javascript errors?
– Kukeltje
Nov 21 '18 at 15:53
none whatsoever.
– Mallik Kumar
Nov 21 '18 at 17:47
Looking at how the select actually looks, I suspect custom CSS that is not in the code above is being applied. Try removing all custom css from your code
– Kukeltje
Nov 21 '18 at 18:51
Edit: image looks like this after removing all CSS above the data table in the page. Still seems disabled.
– Mallik Kumar
Nov 22 '18 at 3:19
Hi @Kukeltje I have tried opening the xhtml by itself and the select works fine. But if I login and I am redirected to the above page, the datatable gets messed up. I can't how you the code due to restrictions.
– Mallik Kumar
Nov 22 '18 at 4:45