Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

serenity.is disable row in grid

// In *Grid.ts
protected getItemCssClass(item: MyRow, index: number): string {
	var cls = super.getItemCssClass(item, index);
	if (item.IsActive == 0) //check row properties
		cls += " inactive";
    return Q.trimToNull(cls);
}
 
PREVIOUS NEXT
Tagged: #disable #row #grid
ADD COMMENT
Topic
Name
2+7 =