-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about the control #1
Comments
Yes, DataGrid can do the fixed column and header row. Yes, it can do the selection and the notification of the tapped cell. No, it cannot do in-place editing in the cell. Not yet. :-) Note that DataGrid right now is more like "a framework building data grids" and less like "a ready-to-use data grid". Its API is pretty rough. So far. :-) |
Thanks! Your control is so amazing...I'm trying to understand the code. I would need to edit a cell, and change their background color when is selected and when you introduce a value jump to the next cell. Any idea, where can i start ? Thanks again |
Sorry -- the code is rather unfriendly right now. I'm working to make it more approachable. You might want to look in grids.cs for usages of DrawCell_FillRectIfSelected. These show some basic examples of selections, being drawn as a partially transparent layer overlay. |
Hello Eric! I came back to do tests with your code. I'm trying to do a version of your trivialgrid to modify values on the grid. But... i don't know how I could paint only a known cell on the main panel when the grid is totally displayed. Can you help me, please? Thanks a lot again! |
Note that I have stopped work on this code base (in favor of a completely If you're asking about how to do the UI for in place editing, the answer is If you're asking how to tell the grid to redraw just one cell in trivial The cells array is hooked up using a all to valuepercell_fromdelegates. The E On Thursday, November 20, 2014, cvarelae notifications@github.com wrote:
|
First of all, Thanks you very much for answering and helping me. I achieve to change the text of a cell in 2 steps:
I don't want to disturb you more.. I want to ask you the last thing: Thanks you again in advance! |
Trivial grid was not designed to allow per-cell format changes. In trivial grid, notice this line: var fmt = new ValuePerCell_Steady and this one: var fill_white = new ValuePerCell_Steady<CrossGraphics.Color> These use ValuePerCell_Steady, which means that they will return the same If you want to change the backgroundcolor and textcolor for just one cell, Some of the other example grids are probably more flexible than trivial E On Thu, Nov 20, 2014 at 9:35 AM, cvarelae notifications@github.com wrote:
|
Thanks. I will continue searching a solution hehe ;) |
Hello,
first of all, congratulations for this amazing control and thanks you for sharing with us.
I have a couple of questions:
Thanks a lot for you work and help!
Congrats!
The text was updated successfully, but these errors were encountered: