Darran Posted January 22, 2010 Report Share Posted January 22, 2010 Hi, I`ve a winforms chart thats using a editable DataEditor. I`m using the DataChangedByUser event to work out when a cell in a series changes. However I only want to make the first series in the DataEditor editable. The others should be readonly does anyone know if this is possible? thanks Darran Quote Link to comment Share on other sites More sharing options...
Frank Posted January 22, 2010 Report Share Posted January 22, 2010 Although you can not specify rows, columns or cells to be read-only, you can prevent some cells from changing by setting Handled = true in the DataChangedByUser event. Quote Link to comment Share on other sites More sharing options...
Darran Posted January 25, 2010 Author Report Share Posted January 25, 2010 Excellant, Thanks Frank that works a treat. It might be good in a future version of ChartFX to have readonly cells in the DataEditor or readonly series. As in our case we want to display a current live series which can be edited and have several historic series shown on the chart but not editable. Setting Handled = true will work though we`ll have to display a dialog stating that the series is not editable ,as its historic, which from a usability perspective works but isn`t ideal. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.