I’ve noticed that the same criteria for initialCriteria does not work for fetchData(). Here are the two instances I’ve used.
isc.ListGrid.create({
id: "grid1",
.
.
initialCriteria: {
someid: <%=id%>,
anothervalue: <%=value%>,
period: "04/25/2008"
}
})
and
grid1.fetchData(
{someid: <%=id%>,
anothervalue: <%=value%>,
period: "04/25/2008" }
)
The initialCriteria will correctly reflect the period into the date field of the corresponding bean parameter in my DMI fetch function. However, when I use the fetchData() function, it does not. Is this a bug?
I have used the map as a work around for now but directly to the bean would be nice.
Thanks