This is a migrated thread and some comments may be shown as answers.

How can I check if the value is null in DataBound

0 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fabricio
Top achievements
Rank 1
Fabricio asked on 15 Aug 2012, 01:16 PM
How do I check if the value is null tDtAlteracao within the DataBound? Would you like to do this without setting the field name.

#= kendo.toString(tDtAlteracao,'d') #
  
 $("#" + sNmId).kendoGrid({
        dataBound: function (e) {
            if (this.dataSource.group().length == 0) {
                setTimeout(function () {
                    $(".k-grouping-header").html(jsonResource[0]);
                });
            }
        }
    });

Thanks

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Fabricio
Top achievements
Rank 1
Share this question
or