Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formulas with references to following sheets yield #REF after conversion to a DPL document #2085

Open
tsvetomir opened this issue Aug 22, 2016 · 0 comments

Comments

@tsvetomir
Copy link
Member

Bug report

Reproduction of the problem

var workbook = Workbook.FromJson(
    "{\"sheets\":[{\"name\":\"Sheet1\",\"rows\":[{\"index\":0,\"cells\":[{\"value\":1,\"formula\":\"SomeOtherWorksheet!B13\",\"index\":0}]}]},{\"name\":\"SomeOtherWorksheet\",\"rows\":[{\"index\":12,\"cells\":[{\"value\":1,\"index\":1}]}]}]}");

var doc = workbook.ToDocument();
var sheet = doc.Worksheets[0];
var sel = sheet.Cells[0, 0];
var val = sel.GetValue().Value.GetResultValueAsString(new CellValueFormat(""));

// val is #REF

Expected/desired behavior

The formula should evaluate to 1.

Environment

  • Kendo UI version: 2016.2.714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants