jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Change columns header color Change columns header color #100186

    vmurugan
    Participant

    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.

Viewing 1 post (of 1 total)