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

Add option to hide the "Rank" column. #24

Open
Ritzlie opened this issue Feb 7, 2017 · 6 comments
Open

Add option to hide the "Rank" column. #24

Ritzlie opened this issue Feb 7, 2017 · 6 comments

Comments

@Ritzlie
Copy link

Ritzlie commented Feb 7, 2017

I have an object in My application using Visual tablesorter, but I want to eliminate rank column on visual tablesorter. How can to remove or hide the rank column that existed at tablesorter?
tablesorter

thank you

@stopyoukid
Copy link
Member

We do not currently support the ability to hide the Rank column. We will add the option to hide the rank column as a future feature request.

@stopyoukid stopyoukid changed the title How to delete a Field Add option to hide the "Rank" column. Feb 7, 2017
@Ritzlie
Copy link
Author

Ritzlie commented Feb 14, 2017

Sorry for asking again,
I need to remove the colum rank, can help me how to remove the colum rank by modifying the table sorter form your code?
thank You

@stopyoukid
Copy link
Member

A quick and dirty fix to make this work in the meantime without too much code is to add

.grid {
    transform: translateX(-50px);
    width: calc(100% + 50px);
}

to this scss file here: https://github.com/Microsoft/PowerBI-visuls-TableSorter/blob/develop/src/powerbi/css/TableSorterVisual.scss#L26

What this does is actually move the rank column off screen, and makes the width of the grid larger to compensate for it.

@rahulb99
Copy link

Are you @stopyoukid working on this feature request?

@stopyoukid
Copy link
Member

I am not. However, we are happy to review PRs for this feature.

@KryptoKasia
Copy link

@stopyoukid do you know where should I use the dirty fix? Can you give more detailed intruction where to implement it?
I have created my own rank and really need to get rid of the old rank in the power bi report

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

No branches or pull requests

4 participants