[Gambas-user] Need a trick

T Lee Davidson t.lee.davidson at gmail.com
Thu Oct 14 17:28:31 CEST 2021


On 10/14/21 5:15 AM, Fabien Bodard wrote:
> Hi,
> 
> 
> On a gridView Used as a List with multiple column,
> 
> If you click on a column on the right, the entire grid scroll on the left because of the call of "EnsureVisible" on each click
> 
> How can we lock the list to not have this side effect if the total of the columns are more larger than the viewport ?
> 
> 
> Thank you
> 
> 
> 
> -- 
> Fabien Bodard

I'm not sure exactly what you are describing or trying to accomplish. But, perhaps you could utilize the ColumnClick event to 
manually handle horizontal scrolling with the ScrollX property, and then Stop the event.


-- 
Lee


More information about the User mailing list