6 06 2018
Como fixar colunas no Report Viewer?
Você conhece aquela funcionalidade de fixar colunas do Excel? Será que é possível fazer o mesmo nos seus relatórios do Report Viewer? A resposta é “sim“! Apesar dessa funcionalidade estar um pouco escondida, é possível fixar colunas no Report Viewer. No vídeo de hoje eu mostro para você como fazer isso. Confira:
Baixe o projeto de exemplo
Para baixar o projeto de exemplo desse artigo, assine a minha newsletter. Ao fazer isso, além de ter acesso ao projeto, você receberá um e-mail toda semana sobre o artigo publicado e ficará sabendo também em primeira mão sobre o artigo da próxima semana, além de receber dicas “bônus” que eu só compartilho por e-mail. Inscreva-se utilizando o formulário no final do artigo.
Até a próxima!
André Lima
Image by Pixabay used under Creative Commons
https://pixabay.com/en/calculator-calculation-insurance-1044173/
Song Motherlode Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/
Utilizando uma biblioteca .NET Standard com Windows Forms e WPF Como forçar o modo administrador em aplicações .NET?
Boa dica André. Valeu.
Valeu pelo comentário, José! Fico feliz que tenha gostado..
Abraço!
André Lima
Top 10
Valeu, Raul! Obrigado pelo comentário!
Abraço!
André Lima
Hello Mr.Andre,
Sorry to bother you like this, but I have a problem with the ReportViewer that I couldn’t solve,
It is not directly relevant to the topic of the article, so I apologize again,
If the question interests you and your time allows it, please take a look at my question here:
https://www.codeproject.com/Questions/1258684/How-do-I-format-X-axis-labels-in-RDLC-range-bar-ch
Thank you very much,
You have been always a great help to me.
Hello Ahmed!
Sorry it took me so long to answer your question, but I am kind of taking a break from producing content so that I can focus on my family..
But, anyway, were you able to solve this problem? I never had to create a report like this, but it looks like you want to build something like a Gantt chart, right? Have you tried to search for examples of Gantt chart in RDLC or SSRS? Like this Youtube video, for example:
SSRS Range Bar Chart (GANTT) using SSRS 2008 R2
It is kind of what you need, but with the axis inverted..
Regards,
André Lima
Olá, você tem material para Vb Net?
queria sobre relatórios.
tenho uma tabela assim
produto entidade tipo valor
Lápis abc 1 22
Lápis acb 2 10
Lápis afc 3 8
queria gerar um relatório assim
Produto Tipo 1 Tipo 2 Tipo 3
Lápis 22 10 8
…
não consegui ainda pois o campo valor é para todas as entidades.
alguém pode me ajudar?
Olá Marcos!
O material que eu tenho sobre relatórios é o que está no site, além do meu e-book.. No site alguns artigos são apresentados tanto em C# quanto em VB NET.. Outros somente em C#.. E no e-book os códigos estão todos em C# somente.. Mas, dá para converter tranquilo com qualquer conversor online, como este:
http://converter.telerik.com/
Quanto à sua dúvida, você precisa criar um relatório com matriz.. Basicamente você tem que agrupar os dados (via “column group”) pela coluna “Tipo”.. Veja se este artigo te ajuda:
Designing matrix reports
Abraço!
André Lima