U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
grid control hidden field sql accept
https://www.ultimatepp.org/forums/index.php?t=rview&goto=17489&th=3729#msg_17489
code, which is a very nice example, thank you very much.
I added a hidden column to add a RichEdit control as the
editor, and a RichTextView as the display, both of which
I'm bringing up in a second window. All of this also
works very well, thank you again.
However, I ran into a problem where the accepted row data would not update the sql database if only the hidden control data
is modified. If one of the visible column entries was modified, then the entire row data was saved correctly, including the hidden row data.
I debugged this and found that GridCtrl::IsModifiedRow()
was not returning true. After several hours of trying
to figure a way to get it to recognize that the hidden
data had been modified, I finally just added
void SetModifiedRow() { row_modified++; }
to GridCtrl.h at line 1177, and then called it from a callback.
money.WhenEndEdit = THISBACK(EndEditNotes);
This seems to work now, but I'd like to know if there are
any other accepted ways of dealing with this issue.
Thanks,
Jay Norwood
]]>jaynorwood2008-08-17T18:23:34-00:00Re: grid control hidden field sql accept
https://www.ultimatepp.org/forums/index.php?t=rview&goto=17519&th=3729#msg_17519
unodgs2008-08-19T10:03:47-00:00Re: grid control hidden field sql accept
https://www.ultimatepp.org/forums/index.php?t=rview&goto=18318&th=3729#msg_18318
Please jaynorwood cand you post your code example for a newbie ?
My goal is to make this field in the table bigger in capacity and to edit it with an RichTextCtrl outside of the gridCTRL to display and edit this field in the table BORROWED.
thanks in advance ]]>Paco2008-09-22T15:53:57-00:00Re: grid control hidden field sql accept
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47132&th=3729#msg_47132
roger2016-12-16T12:53:10-00:00