• Martin Lorenz
    April 25, 2017 at 4:09 am #4214

    Hello,
    I think that I found bug. When I try set column in table, visibility READ ONLY not working.
    When I set: visibility: “V”, colum is editable, ok it works, when I set: visibility: “N”, ok, it works too, but when I set: visibility: “R”, colum is editable and should be read only. This is my code:

    var obj7 = {renderAs: "V", visibility : "R", width: "7px"};
    var obj11 = {renderAs: "V", visibility : "R", width: "11px"};
    var obj17 = {renderAs: "V", visibility : "R", width: "17px"};
    var obj30 = {renderAs: "V", visibility : "R", width: "30px"};
    var objHidden = {renderAs: "V", visibility : "N"};
    
    tw.local.tableColumns = [];
    tw.local.tableColumns.push(obj30);
    tw.local.tableColumns.push(obj17);
    tw.local.tableColumns.push(obj7);
    tw.local.tableColumns.push(obj11);
    tw.local.tableColumns.push(obj11);
    tw.local.tableColumns.push(obj11);
    tw.local.tableColumns.push(obj11);
    tw.local.tableColumns.push(objHidden);
    SPARK Support
    May 2, 2017 at 3:02 pm #4253

    Hi Martin,

    It appears that the Visibility of the controls placed inside the Table take priority over the Columns settings.  I will discuss this with the development team and see if this is by design.

    Regards,

    Stephen P.

    SPARK Support
    May 19, 2017 at 7:33 am #4336

    Hi Martin,

    After reviewing this issue further, I did find that the controls need to be set to Same As Parent in order for the Table Column Visibility setting to take effect.

    However, I also discovered that there is an issue specifically with using the “R” setting.  We have logged this issue and are preparing a fix for an upcoming release.

    Regards,

    Stephen P.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search