iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I was wondering how I would change the just the cell's background color and bold the value when value of that cell is updated? I need to do this client side.
Hi Jocelyn,
In order to set the cell's background color and bold the value, you need to use an OnAfterResponseProcess event. Here are the sample code:
function WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject) { var WebGrid1 = ISGetObject(controlId); WebGrid1.GetActiveEditCell().element.style.backgroundColor = "RED"; WebGrid1.GetActiveEditCell().element.style.fontWeight = "BOLD"; return true; }
I hope it helps and please, do not hesitate to ask if you have any other questions, thank you.
Best Regards,
Andi Santoso.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname