Change event on Select Item is not getting called every time

In our application we are using select Item and on it’s change vent we are trying to populate the data in List grid.
Issue is that when we try to change the value first time, data gets populated.
But once data is set at first time on grid , for any further changes in select Item value List grid data is unchaged.
Can some please help on this ?

issue has been resolved

We called invalidateCache once data is fetched in Listgrid.

Post sample code.

sample code

function setDataList(value)
{

        var criteria = {};
        criteria.pkgName = value;
        availableNamespaces.fetchData(criteria);

        var griddata = availableNamespaces.getData();
            if (isc.isA.ResultSet(griddata))
            {
                griddata.invalidateCache();
            }                 
	}

We called this function on change event

fetchData is not a synchronous operation so checking availableNamespaces immediately after the call is an error. You must setup a callback for fetchData to work on the results.