1
Answer

Tick Sign should be displayed

Ramco Ramco

Ramco Ramco

3y
519
1

Hi

  I have below code & i want it is true then - fa fa-check should be displayed instead of CheckBox.

{
                data: "IsActive",
                render: function (data, type, row) {
                    if (data == true) {
                        return '<input type="checkbox" checked>';
                    } else {
                        return '<input type="checkbox">';
                    }
                    return data;
                }
            },

Thanks

Answers (1)