infragistics - Truncated Display of Amounts in UltraGrid for data Type double -


i using infragistics.ultragrid , having problem truncated display of amounts in grid..the column in double datatype..is there know how fix it?changing width , setting multiline has no use....thanks!

you need format ultragridcolumn currency datatype.
done in designer if define columns of datasource, otherwise in code (perhaps in initializelayout event)

 int integernumbers = 10;  // max count of integers in currency value  int decimalnumbers = 2;   // max count of decimals in currency value   // if write in initializelayout   // use e.layout.bands[0].columns  ultragridcolumn cl = grid.displaylayout.bands[0].columns["yourcolumnkey"];   // align on right side   cl.cellappearance.texthalign = halign.right;  cl.header.appearance.texthalign = halign.right;   // format maskinput  cl.maskinput = string.format("{{currency:-{0}.{1}}}", integernumbers, decimalnumbers);  cl.style = infragistics.win.ultrawingrid.columnstyle.currency; 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -