I used it exactly as shown in the code right down to the button. It gave me a strange response.
First time the column was toggled the whole grid except the grid border disappeared. Then when I toggled the button again the grid contents came back and I could toggle the column. But the Header button bar did not resize properly. Instead of using the columnWidth settings it went automatic and shrank everything down. I probably need to make a simple code package just showing the datagrid and what I'm getting. I'll see if I can get something done along those lines. Please keep in mind I am using the SDK from 10/29/2020. I haven't tried a new one since the last attempt failed. From: Carlos Rovira [mailto:[email protected]] Sent: Wednesday, December 30, 2020 1:13 PM To: [email protected] Subject: [EXTERNAL] Re: Grid Sort issues EXT email: be mindful of links/attachments. Hi Warren, I mean that using visible in the column will hide the column but not header button for that column will remain since is part of the header buttonbar, so the for the right way I mean to use the implementation that Greg did. Sorry to not be of much help on this since I don't know much more of that code. But the Column Swapping is working in TDJ, so if it's not working for you we should investigate where is the issue, if is a bug in the code or is something about the way you're using it Thanks El mié, 30 dic 2020 a las 17:40, wkoch (<[email protected]<mailto:[email protected]>>) escribió: I'm not sure what you mean by "not doing it right". DataGridColumn has a visible attribute. I just gave it a localId and added buttons to control visibility. Yes it was the ColumnSwapping one. The HeaderBar did not resize properly. -- Sent from: http://apache-royale-users.20374.n8.nabble.com/ -- Carlos Rovira Apache Member & Apache Royale PMC Apache Software Foundation http://about.me/carlosrovira
