fixed issue 14, add logic to check the type of entityValue and filterValue
pass two params getGridColumns(data, cache).