mibuso.com

Microsoft Business Solutions online community
It is currently Tue May 21, 2013 7:03 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Show and hide columns in a table
PostPosted: Fri Jul 27, 2012 4:46 pm 
Offline

Joined: Fri Jul 27, 2012 3:55 pm
Posts: 3
Country: Mexico (mx)
Hello, Experts

I have the next question.

How I can save the configuration the user on show and hide columns in a table?

Scenario: The development area makes a modification to the system and the user loses its configuration to show and hide columns in that table, reason why the user has to re-select all columns and arrange again.

The version of the management system is Microsoft Dynamics NAV R2


Top
 Profile E-mail  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Fri Jul 27, 2012 4:57 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Tue Jul 19, 2005 4:49 pm
Posts: 3833
Location: Olst
Country: Netherlands (nl)
This is not possible with the classic client.

Solved in the new Role Tailored Client.

_________________
Mark Brummel | Freelance Dynamics NAV (Navision) Developer
Author of the book : Microsoft Dynamics NAV 2009 Application Design

MY BLOG : http://www.brummelds.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Fri Jul 27, 2012 5:18 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7493
Location: Milan
Country: Italy (it)
In reality, maybe there is a way (never really tried it because it costs a lot of work).

In the OnCloseForm (or OnQueryCloseForm) you need to save the XPOS,WIDHT,VISIBLE properties of ALL fields somewhere in a table connected to the current form and current user id.
In the OnOpenForm, you have to get the XPOS,WIDHT,VISIBLE properties from that table.

The problem is that you need to write a lot of code for each column on the form and you need to do that for each form. And every time you add a field, you have to add code for that field.

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Fri Jul 27, 2012 6:42 pm 
Offline

Joined: Fri Jul 27, 2012 3:33 pm
Posts: 2
Country: Iceland (is)
My experience is that the difference between users wishes on what columns to see is not that much if any within the same business.
So instead of focusing on this user, check what the users in general want to see and have those visible.
You will learn that most of them if not all want the same columns visible ;-)

The result is that few users need to show/hide a couple of columns at the most which is not much work after modifications.


Top
 Profile E-mail  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Fri Jul 27, 2012 9:42 pm 
Offline

Joined: Fri Jul 27, 2012 3:55 pm
Posts: 3
Country: Mexico (mx)
Yes, my problem is that my users organize their columns according to their process flow, for example: Print, Verify, Validate, etc... that is, each column is a step that visually indicates the process flow

I thought that my problem was more easy, =(, well, thank you for your comments =)


Top
 Profile E-mail  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Sat Jul 28, 2012 9:22 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Aug 14, 2001 7:01 am
Posts: 5315
Location: Prague
Country: Czech Republic (cz)
fifa wrote:
My experience is that the difference between users wishes on what columns to see is not that much if any within the same business.
So instead of focusing on this user, check what the users in general want to see and have those visible.
You will learn that most of them if not all want the same columns visible ;-)

The result is that few users need to show/hide a couple of columns at the most which is not much work after modifications.


:thumbsup:

I 100% agree with this approach.

In cases where the column position and widths is an issue I sit with a core group of users to develop a layout that suits most users. You generally find that those with differences are just one or two columns that they can easily move around.

_________________
David Singleton
Dynamics NAV Freelancer
Dynamics Book
Go-Live International


Top
 Profile E-mail WWW  
 
 Post subject: Re: Show and hide columns in a table
PostPosted: Mon Jul 30, 2012 10:39 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Tue Jul 19, 2005 4:49 pm
Posts: 3833
Location: Olst
Country: Netherlands (nl)
kriki wrote:
In reality, maybe there is a way (never really tried it because it costs a lot of work).

In the OnCloseForm (or OnQueryCloseForm) you need to save the XPOS,WIDHT,VISIBLE properties of ALL fields somewhere in a table connected to the current form and current user id.
In the OnOpenForm, you have to get the XPOS,WIDHT,VISIBLE properties from that table.

The problem is that you need to write a lot of code for each column on the form and you need to do that for each form. And every time you add a field, you have to add code for that field.


Been there, done that, got the t-shirt.

It's a lot of code and just not worth it for each form. I'm using it at a few customers where we have end users that really complain that we cannot put changes into production and they have to spend half an hour reorganising columns.

It did solve the "problem".

_________________
Mark Brummel | Freelance Dynamics NAV (Navision) Developer
Author of the book : Microsoft Dynamics NAV 2009 Application Design

MY BLOG : http://www.brummelds.com


Top
 Profile E-mail WWW  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: