41
Views
10
Comments
Solved
how to zoom/increase font table size, when link +, is select
Application Type
Traditional Web

I want to increase the size of the text in this table, using the plus sign (+) link

2023-11-22 10-51-50
Jozy Sohail
Solution

Hi Marhta,

Sorry my bad i haven't seen the application type was traditional.

for traditional app you need to assign the javascript on block or screen level.

and you can call this JS action onClick property of the container or icon.

  I am also attaching the OML for your reference.

You can check the implementation over here https://jozy-sohail.outsystemscloud.com/Zoom/Entry1.aspx?_ts=638350409876734928 

Hope it helps.

Thanks

Zoom.oml
2023-11-22 10-51-50
Jozy Sohail

Hi Marhta,

You can check this link, in this they are changing color, you can apply css based on your need.

https://www.outsystems.com/forums/discussion/76877/how-to-pass-input-parameters-to-css-style-sheet/

2024-07-05 03-48-32
Marhta

Hi Jozy, thankyou for your response. but now i want to zoom in/zoom out the text in the table, using plus (+) link, thankyou..

2023-11-22 10-51-50
Jozy Sohail

Attached an OML for your reference.

but in place of this class(.wj-cell.wj-align-left) you need to add the upper class of your text in that table

DataGrid.oml
2024-07-05 03-48-32
Marhta


thank you for your help... but it still doesn't work on my outsystems...

2023-11-22 10-51-50
Jozy Sohail

Can you please share the issue you are facing or if possible please share your OML

2024-07-05 03-48-32
Marhta

I can't find the client action and javascript too


2023-11-22 10-51-50
Jozy Sohail
Solution

Hi Marhta,

Sorry my bad i haven't seen the application type was traditional.

for traditional app you need to assign the javascript on block or screen level.

and you can call this JS action onClick property of the container or icon.

  I am also attaching the OML for your reference.

You can check the implementation over here https://jozy-sohail.outsystemscloud.com/Zoom/Entry1.aspx?_ts=638350409876734928 

Hope it helps.

Thanks

Zoom.oml
2024-07-05 03-48-32
Marhta


it still doesn't work, would you check my oml file? thanks.
https://drive.google.com/file/d/1kfwRWbfVy2GSPrVAQowjQ3qmUrchNtIo/view?usp=sharing

i saved it on the drive, because the file exceeds 5mb capacity


2023-11-22 10-51-50
Jozy Sohail

I Checked your OML and found few issues.

firstly change your css to 

Then you need to call the JS function on the onClick property of your icon or link(check my second SS from last comment).


2024-07-05 03-48-32
Marhta

it still doesn't work, btw I'm using this web block, not the ZoomSummaryFLC screen.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.