Attach a small runnable sample that shows your issue.
sorry about that – hopefully this time the attachment will stick.
also, you can url the issue at https://wisej.azurewebsites.net/?instanceId=2&conclusionId=3
Hi Alaa,
Yup that works
Perfect
Devin
Hi Alaa,
Awesome, I hadn’t seen that at all.
Application.Browser.PixelRatio is what I needed.
Thank you very much!
Best regards,
Antonio
Hi Antonio,
Did you by any chance take a look at the Application.Browser property?
If not, you can always take a look at our Documentation!
From what it looks like, it has all the things you might need without having to fiddle with JavaScript!
HTH,
Alaa
Here it is!
I placed the 4 different tests all in one button click event.
Thanks; best regards.
Antonio
Hi Devin,
You should be able to handle the Formatting event and replace the newline tokens like the following:
private void DataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) {
if (e.ColumnIndex == 0 && e.Value is string)
e.Value = ((string)e.Value).Replace("\r\n", "¶");
}
HTH,
Alaa
Alaa,
I see multiline is for cell editing.
Is there any way to display a single line then? or do you have bind only a single line string?
Thanks,
Devin
Alaa,
I see multiline is for cell editing.
Is there any way to display a single line then? or do you have bind only a single line string?
Thanks,
Devin
Hi Frank,
Thank you for your reply, I have attached some screenshots which the desired outcome and a sample program
The screenshot “sample-desired-result.png” I created manually with only single line data rows.
The screenshot “sample-results.png” is what the sample project displays.
WordWrap and Multiline properties have been set to False, maybe I am missing something else.
Thank you for your help again,
Devin
Hi Devin,
I wanted to clarify the properties and their functionalities:
The Newlines character have nothing to do with word wrapping, since it’s a line wrap!
HTH,
Alaa
Hi Vincent,
I have logged this as an enhancement request and we´ll check if we will add it.
Best regards
Frank
Hi Antonio,
can you please wrap up a small compilable sample showing how you call your javascript code?
Best regards
Frank
Hi Devin,
can you please wrap up a small compilable repro case and a description of the expected behavior?
Thanks in advance,
Frank
Hi Stephen,
attachment is missing. Also a test app would probably be more helpful than a video, if possible.
Best regards
Frank
Yes, of course. Tried everything I found in the forum and Application variables.
Application.UserHostAddress: 127.0.0.1
Application.UserHostName: 127.0.0.1
Hi Stephen,
Unfortunately, we don’t have any 3rd party integration that enables the features you described.
I think the easiest thing to do is to search for any .NET library that offers said features and try integrating them with Wisej.NET.
HTH,
Alaa
Hi Dirk,
Did you try using the Application.UserHostAddress property?
Best,
Alaa
Thanks for the Replies, I have been trying this for a week now. If you have a sample application, maybe you could share.
Thanks alot and good job on WiseJ. I love it.
Hi Harold,
Thank you for reporting the issue, we’ll investigate it and get back to you ASAP!
Best,
Alaa