Wisej.Web.DataGridViewCell.Control property

0
0

Hi,

I used Wisej.Web.DataGridViewCell.Control property to insert a textbox in column header of datagridview.

I used the following code:

GRD.Columns(1).HeaderCell.Control = t

Where GRD is my datagridview and t is the textbox.

Everything works correctly but the text inside the textbox is not editable.

I can modify text only by code but not by keyboard.

Any suggestions?

Thanks in advance

  • You must to post comments
0
0

Hi Alex,
The purpose is just to use custom filters for each column.
In windows form I have created a custom datagridview with this feature.
The idea is to dock the textbox on bottom of the header and adjust the height depending on whether or not the filters are displayed.

Best

Angelo

  • You must to post comments
0
0

Hi,

What is the purpose of having a textbox as a header? I can’t imagine a scenario (may be a filter? – but that would be under the header, wouldn’t it?) and i’m always very intersted in new ideas for user interface.

Best,

Alex

  • You must to post comments
0
0

Hi Angelo,

thanks, I could reproduce and have logged issue WJ-8354 for it.
We´ll inform you when a fix is available.

Best regards
Frank

  • Cristian Zerbinati
    I Frank this problem 6 years later is still present in Wisej 2.5.38, there is some workaround? I need to migrate to 3.2 but the project is large and require time.
  • Frank (ITG)
    Hi Cristian, we created a test case for this and verified that it´s fixed in our latest builds (3.2.3 and later). I´m sorry but 2.5.38 ran out of support quite a while ago, Best regards, Frank
  • Cristian Zerbinati
    thank you Frank, I hope to complete the update to 3.x as soon as… meanwhile as workaround I play with code changing EditMode = EditProgrammatically and it’s works. But I need to update.
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.