Khonan
Topic Author
Posts: 24
Joined: 23 Jan 2019, 10:18

Changing GridViewColumn Header programmatically

01 Mar 2019, 10:34

Hello Noesis :)

Changing programmatically the Header text of a GridViewColumn has no effect :


My listview contains two column. Column 0 header is empty, column 1 Header is "TEST".
Doing the following don't change the header :
            Noesis.GridViewColumn gvc = ((GridView)m_ListView.View).Columns[1] as Noesis.GridViewColumn;
            gvc.Header = "Hello World";
While debuging Header is "Hello Word", But UI still display "TEST".

Am I missing something ?
 
Khonan
Topic Author
Posts: 24
Joined: 23 Jan 2019, 10:18

Re: Changing GridViewColumn Header programmatically

08 Mar 2019, 09:58

Any Clue ?

:p
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Changing GridViewColumn Header programmatically

08 Mar 2019, 11:35

This is a bug in Noesis, the GridViewColumn.Header is not bound to the generated GridViewColumnHeader controls, so changes to the column are not updated in the header.
Could you please report it in our bugtracker?
 
Khonan
Topic Author
Posts: 24
Joined: 23 Jan 2019, 10:18

Re: Changing GridViewColumn Header programmatically

08 Mar 2019, 13:46

Thanks,

I'm on my way.

Who is online

Users browsing this forum: No registered users and 7 guests