We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Extracting string values from Cells

Thread ID:





16673 Jul 21,2004 01:26 PM Jul 21,2004 02:25 PM Windows Forms 1
Tags: GridControl
Akshay Arora
Asked On July 21, 2004 01:26 PM

When doing engine.GetValueFromArg( s ) it does not return anything when the cell value is a string. I have not specified a CellType for any of these cells. They return numerical data fine, but not string values. Instead I''ve used this.gridExpiry[ this.engine.RowIndex( arg[ i ] ), this.engine.ColIndex( arg[ i ] ) ].Text to get the value I am looking for, which works, but I doubt that it is optimal. Is it? Thanks, Akshay

Administrator [Syncfusion]
Replied On July 21, 2004 02:25 PM

Our gridformula engine does not currently support strings which sounds like what you are trying to get. In that case, what you are doing is the only way to do this currently. If this is a custom function, you are free to use any kind of argument list you want. So, instead of passing one argument as, for example, A12, you could pass two as 12, 1. These two arguments would be more efficient as you could parse them immediately as int 12 and int 1 without using the engine.GetColIndex and engine.GetRowIndex calls which do take some time.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.