Hello Experts,
Needed to know how we could fetch the rows and the various column values contained in the Tree to manipulate the values of certain fields using JavaScript ? I tried doing this but did not achieve
var table = CAF.model(“#{activePageBean.clientIds[‘asyncTable’]}”);
for(var i=0;i<table.getRowCount();i++){
row = table.get(i);
var row = table.get(“row-one”);
var dropdownId = row.getControlId(“htmlOutputText2”);
var dropdown = CAF.model(dropdownId);
}
This line is retreiveing me null value— var dropdown = CAF.model(dropdownId);
Currently I am working on a requirement to display Date Time according to User’s Time zone . I have made use of JavaScript to retrieve user’s Time zone . Now this i needed to pass to converter for a certain field present in the Tree to show Date Time according to user’s Time Zone. Unfortunately I am not able to achieve without refreshing the panel containing the Tree ( i.e. i want this converted time to be displayed when user lands in this page containing the Tree for the first time itself without refreshing the part of the page) .
If anyone had worked on this before or have better ideas to implement the solution for this requirement , kindly do share .
Thank you.
Regards,
Nischal