Jump to content

autoNumeric.js - TUniDBFormattedNumberEdit


Recommended Posts

TUniDBFormattedNumberEdit, TUniDBNumberEdit


Someone could tell me why when I use TUniDBFormattedNumberEdit component is generating fail me for lack of autoNumeric.

I located this file within the uni- \ jQuery \autoNumeric-1.9.35.js and add in custom files in servermodule, the error disappears. However my components are being created at runtime in a frame.


Link to comment
Share on other sites

I'm dynamically creating TUniDBFormattedNumberEdit component, yet strangely even making reference to the units


   Windows, Messages, SysUtils, Variants, Classes, Graphics,

   Controls, Forms, Dialogs, Data.DB, MemDS, DBAccess, Uni,

   System.Types, Xml.XMLIntf, System.StrUtils, uniImageList,

   uniButton, uniBitBtn, uniSpeedButton,

   datamodel.types, system.Contnrs, FireDAC.Stan.Intf,

   FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,

   FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Comp.DataSet,



   uniEdit, uniDBEdit, uniGUITypes, uniGUIAbstractClasses,

   uniGUIClasses, uniGUIForm, uniGUIBaseClasses, uniPanel,



However I am getting the error message.

She only be resolved with the inclusion of autoNumeric file in custom files on the server.


I thought it might be due to some component of UniSpecial of Hayri Aslan. However since I treated topic with him, and told me that is not related to your component.


The strange thing is that it has created a new application, and add the component, do not have this problem.

But in my current application, I have this error.

Link to comment
Share on other sites

  • 1 year later...





I also get a similar error - "Ajax Error - autNumber is not a function". This happens as soon as I add a a TUniDBFormattedNumberEdit component to the form (design time) and runs the application and .showmodal on the form.


I can see the file autoNumeric-1.9.35.js being loaded from the server, so this is not the problem. 


Does anybody have any advise how this can be fixed?


Regards Alf


Ps. UniGui is Fantastic!!



Link to comment
Share on other sites

Join the conversation

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

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...