Page 1 of 1

Changing GridViewColumn Header programmatically

Posted: 01 Mar 2019, 10:34
by Khonan
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 ?

Re: Changing GridViewColumn Header programmatically

Posted: 08 Mar 2019, 09:58
by Khonan
Any Clue ?

:p

Re: Changing GridViewColumn Header programmatically

Posted: 08 Mar 2019, 11:35
by sfernandez
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?

Re: Changing GridViewColumn Header programmatically

Posted: 08 Mar 2019, 13:46
by Khonan
Thanks,

I'm on my way.