In the div with the row class the ng-if value after % need to be equal the number of itens that you need. You can change it, but need to remember to change the times that you repeat the col div. You need pey attention in the col divs, you will reffer to it by the $index, so you need add +1 to the $index on each occurence per row, the first is just $index, the second $index+1, the third $index+2, and so on.
please note that json object holding key and value where key is varying, but the values will always be either be “Yes” or “No”
I would like to place 12 buttons for the jsonObject “data1” (has 12 key/value pairs)on an ionic grid 4x3( four rows and 3 coloumn).
Button text should reflect the “Key’s”, whereas button color shall be blue for when its value is “Yes” and color red for its value is “No”.
Thus 1st button shall be a blue colored button with text as "key1"
2nd button shall be a red colored button with text as “key2”
… … … …
… … … …
… … … …
12th button shall be a red colored button with text as “myKey44”