mikromundo Posted June 16, 2019 Share Posted June 16, 2019 Hi, how can I define a display edit/format for TUniDBNumberEdit ? Ex: The value 38,10 shows as 38,1 Link to comment Share on other sites More sharing options...
Sherzod Posted June 16, 2019 Share Posted June 16, 2019 3 hours ago, mikromundo said: Hi, how can I define a display edit/format for TUniDBNumberEdit ? Ex: The value 38,10 shows as 38,1 Hello, You can use UniDBFormattedNumberEdit instead Link to comment Share on other sites More sharing options...
mikromundo Posted June 16, 2019 Author Share Posted June 16, 2019 (edited) OH!!!!! I´m new user and still learning uniGUI... Thanks so much !!! I will test !!!! but this code could be adapt ? for i := 0 to Self.ComponentCount - 1 do begin if Self.Components.ClassNameIs( 'TUniDBNumberEdit' ) then begin UniSession.JSCode('$("#' + TUniDBNumberEdit( Self.Components ).JSName + '_id-inputEl").inputmask("9,99");'); end; end; Edited June 16, 2019 by mikromundo complement Link to comment Share on other sites More sharing options...
mikromundo Posted June 16, 2019 Author Share Posted June 16, 2019 UniDBFormattedNumberEdit works perfectly!!!! Thanks !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now