Hi,
I have a UltraWebGrid, I use a custom column where I format the numbers with an webnumericedit where the culture is set on "nl-NL"
<igtxt:WebNumericEdit ID="wneFloatEditor" runat="server" DataMode="Double" MaxLength="20" MinValue="0" Width="100px" Culture="nl-NL" MinDecimalPlaces="Two"> </igtxt:WebNumericEdit>
the column definition looks like this:
<igtbl:UltraGridColumn IsBound="True" Key="Hoeveelheid" BaseColumnName="Hoeveelheid" Type="Custom" EditorControlID="wneFloatEditor"> <Header Caption="Aantal"> <RowLayoutColumnInfo OriginX="3" /> </Header> <CellStyle HorizontalAlign="Right" /> <Footer> <RowLayoutColumnInfo OriginX="3" /> </Footer> </igtbl:UltraGridColumn>
In this culture (nl-NL) the decimals are separated by coma (English => 2.25 ,Dutch=> 2,25). If I copy and paste this value, then I get 225 instead of 2,25 as I should.
Please help
Hi Guys,
Here is the solution I have found for this. The only thing is that after the paste operration you can't navigate further using the arrows.
Does anyone know howe to solve the after paste navigation?
function uwg_AfterClipboardOperation(gridName, operationType, data) { if (operationType == igtbl_ClipboardOperation.Paste) { var grid = igtbl_getGridById(gridName); var cell = grid.getActiveCell(); cell.beginEdit(); cell.endEdit(true); }}
Enjoy!