Hi Team,
I have applied separate background using this tag “(“#columntablegrid”).children(“div:eq(0)”).css(“background-color”, “red”);”.
But this will be applied first 11 row. but after that remaining row this color was not applied. Please let me know what i do mistakes here.
$(“#columntablegrid”).children(“div:eq(1)”).css(“background-color”, “red”);
$(“#columntablegrid”).children(“div:eq(2)”).css(“background-color”, “green”);
$(“#columntablegrid”).children(“div:eq(3)”).css(“background-color”, “yellow”);
$(“#columntablegrid”).children(“div:eq(4)”).css(“background-color”, “gray”);
$(“#columntablegrid”).children(“div:eq(5)”).css(“background-color”, “red”);
$(“#columntablegrid”).children(“div:eq(6)”).css(“background-color”, “green”);
$(“#columntablegrid”).children(“div:eq(7)”).css(“background-color”, “yellow”);
$(“#columntablegrid”).children(“div:eq(8)”).css(“background-color”, “gray”);
$(“#columntablegrid”).children(“div:eq(9)”).css(“background-color”, “red”);
$(“#columntablegrid”).children(“div:eq(10)”).css(“background-color”, “green”);
$(“#columntablegrid”).children(“div:eq(11)”).css(“background-color”, “yellow”);
// here not applied color
$(“#columntablegrid”).children(“div:eq(12)”).css(“background-color”, “gray”);
Note: The above mentioned syntex also working like this.