Hi

I want to set Number Mask for Data Grid column from plSql program unit. Run time i want to change number masking. Please give me solution for it. Thanks in advance.

Regards Sanjay Nanhe

asked 15 Mar, 01:52

SanjayN's gravatar image

SanjayN
102
accept rate: 0%


Hello Sanjay,

I think that this is what you need:

api_component.setNumberMask(in_panelDotComponentName_tx =>'yourPane.textFieldName' ,in_numbermask_tx =>'yourNewMask' ):

link

answered 15 Mar, 05:09

brg's gravatar image

brg
1114
accept rate: 0%

Hi

Thanks for Reply.

But using this it was not able to set dataGrid component's column number masking at runtime. This in_panelDotComponentName_tx is not get grid component column.

Regards Sanjay N

link

answered 16 Mar, 01:51

SanjayN's gravatar image

SanjayN
102
accept rate: 0%

It works!

In the ComponentName_tx part just put the name of the textField you used in your column of the grid.

You'll need to execute api_database.executeQuery on the grid's datasource for this to take effect.

link

answered 16 Mar, 04:02

brg's gravatar image

brg
1114
accept rate: 0%

Hi it works. Thanks Team !!!!

link

answered 16 Mar, 05:28

SanjayN's gravatar image

SanjayN
102
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×16
×7
×2

Asked: 15 Mar, 01:52

Seen: 162 times

Last updated: 16 Mar, 05:28


© Copyright Gerger 2017