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

Better error exeption for editable column wrong value #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Olicek
Copy link

@Olicek Olicek commented Oct 26, 2015

Pokud se nastaví sloupec na editable a value obsahuje objekt, který nelze konvertovat na string, vrací Grido nic neříkající chybu (např.):

Recoverable Error
Object of class DateTime could not be converted to string

Po úpravě vrátí:

Exception
Column 'date' has error: You must define callback via setEditableValueCallback().

Viz: https://forum.nette.org/cs/13109-grido-datagrid-pro-nette?p=19#p164235 a https://forum.nette.org/cs/13109-grido-datagrid-pro-nette?p=19#p164380

Pokud se nastaví sloupec na `editable` a value obsahuje objekt, který nelze konvertovat na string, vrací Grido nic neříkající chybu (např.):

```
Recoverable Error
Object of class DateTime could not be converted to string
```

Po úpravě vrátí:

```
Exception
Column 'date' has error: You must define callback via setEditableValueCallback().
```

Viz: https://forum.nette.org/cs/13109-grido-datagrid-pro-nette?p=19#p164235 a https://forum.nette.org/cs/13109-grido-datagrid-pro-nette?p=19#p164380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants