Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Autonumeric for interactive grids

Jake4321Sep 20 2019 — edited Oct 3 2019

Hi all,

I am currently working with Application Express 19.1.0.00.15.

I was able to implement the autonumeric "plugin"  and successfully use it with standard items on a page/form.

https://github.com/topics/autonumeric

I am currently searching on how to use it with Interactive Grids but I was not successfull in doing so. i

The methods on the plugin allow to address either a class or a specific DOM item. For standard page items , I am using the class 'number_field' and it works fine.

With Interactive grids, I tried using the class 'a-GV-cell u-tS' but that did not work. I also tried with a static id but this did not work either. i.e. nothing happens.

Has anyone experimented with this "plugin" and specifically with Interactive grids.

Any information, tips, suggestions is greatly appreciated as usual.

Thanks,

Jake

-- modified by Jake 20190923

here is the code am im using:

This is a javascript fired on page load dynamic action:

-- This is the code to initialise all number_field class items.

new AutoNumeric('.number_field', {

    aSep:',',

    decimalCharacter:'.',

    aSign: '$',

    pSign: 's'

});

-- This is the code I am using to initialize a specific column in the datagrid.

new AutoNumeric.multiple('.CoutAvTaxes_HDR', {

    aSep:',',

    decimalCharacter:'.',

    aSign: '$',

    pSign: 's'

});

APEX adds the _HDR suffic to the column static id.

Any tips, suggestions are greatly appreciated.

Thanks,

Jake

This message was modified by : Jake4321

This post has been answered by Jake4321 on Oct 3 2019
Jump to Answer

Comments

Post Details

Added on Sep 20 2019
2 comments
848 views