Jump to content

Recommended Posts

Posted
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

Posted (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 by mikromundo
complement

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...