Page 1 of 1

Suggestion for Stock component

Posted: 12 December 2013, 06:54
by adela82
Hi!

I realize when you want to select items in a Stock component, the selection appears with a very thin red border, sometimes you cannot see. Maybe it would be great if we can have a selected class which we can work with. In the code you see:

Code: Select all

,selectItem: function(id) {
     var _dc2 = $(this.getItemDivId(id));
    if (this.selectionApparance == "border") {
        dojo.style(_dc2, "borderWidth", this.apparenceBorderWidth);
    } else {
        if (this.selectionApparance == "disappear") {
            dojo.fadeOut({node: _dc2}).play();
        }
    }
It would be great if we have another selectionApparance called "class" and a variable called apparenceClassName

Re: Suggestion for Stock component

Posted: 12 December 2013, 09:52
by sourisdudesert
Hi,

Nice suggestion.

In the meantime, you can play with:

<your_stock_object>.apparenceBorderWidth = '2px';

... to make the selection a little less thin.

Cheers,

Re: Suggestion for Stock component

Posted: 12 December 2013, 13:05
by adela82
I've already done that :)