Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColumnHider plugin's 'hidden' property not taking effect #199

Closed
saurabhgupta2u opened this issue Jun 12, 2012 · 2 comments
Closed

ColumnHider plugin's 'hidden' property not taking effect #199

saurabhgupta2u opened this issue Jun 12, 2012 · 2 comments

Comments

@saurabhgupta2u
Copy link

Hi!

I have a column with with both 'hidden' & 'unhidable' set to true. However, the column does not hide....upon doing some testing, I found that it hides only when unhidable is set to false.

i.e.,
hidden: true & unhidable: true -> doesn't work
hidden: true & unhidable: false -> works

Is it not possible to have both hidden & unhidable as true?

FYI, I'm also using the ColumnResizer & DijitRegistry plugins. This is the column definition from the grid template:

        <th data-dgrid-column='{
            field: "order",
            hidden: true,
            unhidable: true,
            sortable: false
            }'>
            Order
        </th>
@ghost
Copy link

ghost commented Jun 21, 2012

I'm testing a fix for this now, but I'm also curious to hear what your use case is like for setting both hidden and unhidable.

@ghost ghost closed this as completed in 7b2d970 Jun 21, 2012
@saurabhgupta2u
Copy link
Author

My use case is this - I have a a field in the grid that I want to use to store a value(an internal calculation used for debugging) that I do not wish the user to ever see. So, I want to hide this field & also prevent the user from unhiding it.

Many thanks for fixing this :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant