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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...