I am using data grid in movilizer screen with question type = "9". Here i am binding data to grid with local array data. I want to show message in the grid screen 'No records found' if there is no data. how to show message in the middle of the screen here. below is my sample code
<question key="Item_Question" type="9" title="Item Details" tableOptionsEnabled="false" >
<answer nextQuestionKey="END" key="Item_1" clientKey="0" colIndex="0" colWidth="5" attributeType="8" dummyAnswer="true">
<text>Item ID </text>
</answer>
<answer nextQuestionKey="END" key="Item_2" clientKey="0" colIndex="1" colWidth="5" colSearchable="false"
attributeType="8" dummyAnswer="true" valueAlignment="CENTER">
<text>Item Description</text>
</answer>
<onEnterAssignment>
itemCount = $local:itemDetails;
for(clientKey : itemCount){
Seq = concat(itemCount[clientKey]['ID'], '_', itemCount[clientKey]['Name']);
addAnswer($answer:"Item_1", Seq, itemCount[clientKey]['ItemCode']);
setAnswerValueByClientKey($answer:"Item_1", Seq, itemCount[clientKey]['ItemCode']);
addAnswer($answer:"Item_2", Seq, itemCount[clientKey]['ItemDescription']);
setAnswerValueByClientKey($answer:"Item_2", Seq, itemCount[clientKey]['ItemDescription']);
}
</onEnterAssignment>
</question>
Thanks