[Frontend][Library] Fixed unneeded ajax overhead on dataGrid and fixed an bug while clearing and limiting.