Posted 7 January 2021, 6:51 am ESTHello, i have problem with the group items in the schedule conrol.
I load data from a sql server into a tablw wich is assigned to owner (dtOwner)
from a second datatable i retrive the appointments this table is assigned to appointments. I works fine! When i choose to hide some groups (grouped by owners) it works olso fine (myCalendar.GroupItems(nRow + 1).IsChecked = grdPersonal(nRow, cAktiv))
the problem becomes when i reload the appoint datatable with new data from the sql server all hidden groups become visible! so i need to walk trought i this will flicker. i need to update the appointments verry quickliy, each second, dont ask me why, its complicate...
this is what i do....
Dim daDaten As SqlClient.SqlDataAdapter
Dim conDaten As New SqlClient.SqlConnection
conDaten.ConnectionString = SQLConn
daDaten = New SqlClient.SqlDataAdapter(sSQL, conDaten)
then i walk trough the owners and disable them who i should not displayed
For nRow = 0 To grdPersonal.Rows.Count - 1
myCalendar.GroupItems(nRow + 1).IsChecked = grdPersonal(nRow, cAktiv)
I hope someone can help me....