Page 1 of 1

Hide the Dummy List Item Row on Load

Posted: Thu Oct 30, 2014 9:35 am
by Jitendra Bhagat

Hi Appery Team,

I want to hide the Dummy List Item which comes when we are loading a list of data items from the Database.That dummy row gets hidden when our list of data items is loaded.

My purpose is to hide the Dummy row forever, like the screen should come blank but no dummy list item row.
Please suggest me a good approach to do this.

I tried :-
1.Apperyio("CartItemList").attr("data-hide", "true");
2 .Apperyio("CartItemList").hide( );

  1. Appery('CartItemList').empty().refresh();

    All of these did not solved my problem.

    Waiting for a favorable reply.

    Thanks and Regards,

    Jitendra Bhagat


Hide the Dummy List Item Row on Load

Posted: Thu Oct 30, 2014 10:22 am
by Maryna Brodina

Hello!

This code preApperyio("CartItemList").hide();/pre should work.
Could you clarify what exactly doesn't work? What is this code execution result?


Hide the Dummy List Item Row on Load

Posted: Thu Oct 30, 2014 10:34 am
by Jitendra Bhagat

This is still giving me the Dummy Row on list.

I tried :-
1.$(this).parents("[name=CartItemGrid]").hide();

  1. Appery('CartItemGrid').hide();

    This also does not hide my Dummy Row on list item.


Hide the Dummy List Item Row on Load

Posted: Fri Oct 31, 2014 12:27 am
by Yurii Orishchuk

Hi Jitendra,

Please provide us screen shots with this "Dummy" row that you want to hide.

Regards.