Answers for "serenity.is disable row in grid"

2

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);
}
Posted by: Guest on September-17-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language