Jump to content

How to set disclosure Icon for a row of unimdblistfrid to be not displayed? In unievents, I set the table template.


powergov

Recommended Posts

Hi,@Sherzod

Well, I mean:

if {8} is null then disclosureIcon := true else disclosureIcon := false 

if display this

image.png.a2219cd4c708848b169a4997e69a00ec.png

{8} is null,  I want to  disclosureIcon := true

 

if display this

image.png.a4d25fdbaac97684cbd8deb63870b2a7.png

{8} is '<image src="files/1234.png">iPhoneX

I want set  disclosureIcon := false

 

Link to comment
Share on other sites

2 hours ago, powergov said:

{8} is '<image src="files/1234.png">iPhoneX

I want set  disclosureIcon := false

Can you try this?

function beforeInit(sender, config) 
{
    config.shouldHideDisclosure = function(record) {
        return record.data[8] == "";
    };
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...