![]() ![]() ![]() I know this should be possible when I look at tutorials for DataGridView like the link below where they place in a custom "DataGridViewTextBoxCell", like the images show.īased upon what I read regarding TrueDBGrid, and the expected logic that ComponentOne most likely used DataGridView as a template for creating TrueDBGrid, I would expect the way of creating custom cells would be very similar. PrvNewCellList.ButtonWidth = (objPrefDispla圜olumn.Width * 0.1) ![]() PrvNewCellList.LabelWidth = (objPrefDispla圜olumn.Width * 0.9) PrvNewCellList.LabelButtonHeight = Me.TestGrid.RowHeight / ' Create Custom Controller and Insert Data from table into it ' Retrieve Columnĭim objPrefDispla圜olumn As C1.1Displa圜olumn = Me.TestGrid.Splits(0).Displa圜olumns("ColumnFieldName")ĭim data As DataTable = ' My call to database table goes here Retrieve data that relates to row My code for this performance is shown below. ![]() However, I want the cell to be visible all the time not just when it's clicked, and I want it to be based upon the row itself not just the displa圜olumn like I'm doing now where I reload the "Displa圜" each time a different cell is clicked on. Here if you double click on a cell I can get a Custom Control to appear in the cell they clicked upon. I've gone through as much documentation as I can find, and all of the tutorials for the True DBGrid however the farthest I can get is shown in the attached image below. I've spent quite some time the last couple of days trying to figure out how I can create a custom cells within a True DBGrid, and currently I'm stuck. This is in regards to Componentone's True DBGrid, so this may not be the best place to expect answers, but at this point I feel like I've done as much as I can so I'm willing to give it a shot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |