cancel
Showing results for 
Search instead for 
Did you mean: 

Make document actions always visible

manav
Confirmed Champ
Confirmed Champ

Hi,

 

We are able to see document actions when we take our mouse pointer to document's row, but recently I came across the requirement to make those actions always be visible. When I inspected "documentlist.js", found that actions are coming from one of the column of data table but didn't able to get where mouse over and out events are defined which show/hide document actions. I would be great if any could help me in achieving this.

 

Thanks in Advance

1 ACCEPTED ANSWER

calvo
Star Collaborator
Star Collaborator

Hi,

Maybe you can create a new view based on, for instance, "document-list-view-detailed" to test your changes.

In the new view you can change the .js file trying to find something like that:

elCell.innerHTML = '<div id="' + scope.id + '-actions-' + oRecord.getId() + '" class="hidden"></div>';

In our case we won't add: class=hidden.

After that, we won't call methods like:

Dom.removeClass(elActions, "hidden");

Dom.addClass(elActions, "hidden");

I don't know if its the best option, anyway its only a test and is necessary check when we should add/remove this class.

Regards,

clv

View answer in original post

1 REPLY 1

calvo
Star Collaborator
Star Collaborator

Hi,

Maybe you can create a new view based on, for instance, "document-list-view-detailed" to test your changes.

In the new view you can change the .js file trying to find something like that:

elCell.innerHTML = '<div id="' + scope.id + '-actions-' + oRecord.getId() + '" class="hidden"></div>';

In our case we won't add: class=hidden.

After that, we won't call methods like:

Dom.removeClass(elActions, "hidden");

Dom.addClass(elActions, "hidden");

I don't know if its the best option, anyway its only a test and is necessary check when we should add/remove this class.

Regards,

clv