logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Benbabu  
#1 Posted : Friday, September 13, 2019 11:56:08 AM(UTC)
Benbabu

Rank: Advanced Member

Groups: Registered
Joined: 8/9/2019(UTC)
Posts: 45
India

Thanks: 13 times
Hi,

In a data table, is it possible to conditionally embolden / format selected rows .... i.e. if a row's data meet certain conditions?
(similar to implementing KPI view conditions in a data table instead)

I have gone through the config files, and the forum... but I haven't seen anything to meet this criteria.



Please advise.
epf  
#2 Posted : Friday, September 13, 2019 12:07:13 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
this can be done through 'Cell Script': select your model element in the editor, then 'Advanced/Cell Script'.
There are samples for conditional formatting...
thanks 1 user thanked epf for this useful post.
Benbabu on 9/16/2019(UTC)
Benbabu  
#3 Posted : Monday, September 16, 2019 9:35:51 AM(UTC)
Benbabu

Rank: Advanced Member

Groups: Registered
Joined: 8/9/2019(UTC)
Posts: 45
India

Thanks: 13 times
Ok.. yes..
and how about if I want to influence the formatting of the entire row in a table , based on the output of 1 field ?
epf  
#4 Posted : Monday, September 16, 2019 11:05:17 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
there is no standard for this, so you have to modify your DataTables view template and change the HTML or the JavaScript generated...
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.