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
Hi,
When I move the highlight (not in EditMode) to the cell (integrated with WebInput) and start typing "0" (e.g. "01"), the page produce a javascript error, and unable to finish the input. If the input starts with a non-zero character(e.g."11") the input is able to be finished, but the cell will show nothing after finish input.
Is there any way to work around for this issue?
Thanks and Regards,
Fung
Hello Fung,
I tried to create sample following your scenario, and I couldn't replicate your issue on my end. When I type 01, WebInput will automatically change to 1.
I couldn't download your attachment. Maybe the attachments was corrupted. Could you please re-send the attachment?
Thank you.
Regards,-Martin-
Hi Martin,
The file is uploaded and tested to be able to download. Please have a look.
It seems that you need to enter edit mode in order to configure the WebInput. Otherwise, you will get error when you type something in highlight mode.
You can try to set CellClickAction to CellSelect under LayoutSettings:
<ISWebGrid:WebGrid ID="wg" runat="server" Height="250px" Width="500px"> <LayoutSettings CellClickAction="CellSelect">
Then, use the following code in OnCellSelect client-side event:
function wg_OnCellSelect(controlId, tblName, rowIndex, cellIndex) { var wg = ISGetObject(controlId); if (cellIndex == 2) wg.LayoutSettings.Set("EditOnClick", true, true); else wg.LayoutSettings.Set("EditOnClick", false, false); return true; }
This code will implement edit mode only when you click any cell on DateTime column.
Attached is the sample for your reference.
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