Gird row adding problem

Hi Inga,
I am facing the below problem.
Problem description:
if (some condition) {
loadDialog(‘/RuleSettings/SelectRuleSettingsMultiplePopup?filterName=user&operatorName=equals-to’, ‘#FilterInfo’);
gridright.clearAll();
for (i = 0; i < 5; i++) {

	                gridright.addRow(i, [i.toString(), "Prasenjit"], i);

	           		            }
            }

gridright.addRow executed successfully…but rows are not adding into the grid and none of rows do not show.if I am insert one alert statement into the loop then rows are showing into the grid…please tell me where i am wrong…

Most probably you have some data loading code, which loads empty configuration and resets the grid. ( alert will pause row adding , so addRow will be executed after data loading )

If problem still occurs - please provide any kind of sample or demo link where issue can be checked.