Hi,
I have a databound GridView and a RibbonBarButton conecting it to RadGridViewCommands.BeginInsert.
If there is data available (viewmodel.dataitems.Count > 0) then the BeginInsert Button is enabled, if no data is available - when I usually need the BeginInsert command - the button remains disabled.
If I set ShowInsertRow="True" and click on it, then the Button is enabled as well....
So, how can I enable the RibbonBarButton with Command="telerik:RadGridViewCommands.BeginInsert", CommandParameter="{Binding IsEnabled}" CommandTarget="my:GridView" for an empty RadGridView?
Thank you,
Hermann
I have a databound GridView and a RibbonBarButton conecting it to RadGridViewCommands.BeginInsert.
If there is data available (viewmodel.dataitems.Count > 0) then the BeginInsert Button is enabled, if no data is available - when I usually need the BeginInsert command - the button remains disabled.
If I set ShowInsertRow="True" and click on it, then the Button is enabled as well....
So, how can I enable the RibbonBarButton with Command="telerik:RadGridViewCommands.BeginInsert", CommandParameter="{Binding IsEnabled}" CommandTarget="my:GridView" for an empty RadGridView?
Thank you,
Hermann