105
Views
3
Comments
How to use External CSS
Application Type
Traditional Web, Mobile, Reactive

I used 3rd party data table jQuery & CSS because of its unique styles and various inbuilt filter functionalities. 

As my application is related with some sort of data analysis, i used data tables almost on every screen of the application.

This CSS & jQuery's directly coming from the CDN and i don't want to copy & paste CSS & jQuery's  on every page(avoid code redundancy). Having issue with overriding with default CSS.

How can I include all these CSS & jQuery's inside OS application. I am aware about "AddStylesheetTag" but as i mentioned overriding css issue. Somewhere data tables are working as expected very smoothly, somewhere partially, somewhere not working at all. 

So kindly suggest me the best way, all I want to do is get through it. 

2024-05-08 06-29-37
Prince Aadil Khan Panwar

Hi @Pradip Chavhan 

1. for jquery open the cdn and copy paste into new script file by creating file into the scripts

2. add script to your selected screen or webblock of your choice

3. and for css you can add the screen or create an application and add n blank module add css there and take the depency to your required module.

or by this function add css url 

hope this helps

Thanks

Prince


2022-05-18 07-58-50
Pradip Chavhan

Thank you for your valuable reply.

2024-05-08 06-29-37
Prince Aadil Khan Panwar

welcome. mark as solution if you find it helped you accourdingly.

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