Skip to content

Better error exeption for editable column wrong value#229

Open
Olicek wants to merge 1 commit intoo5:masterfrom
Olicek:patch-1
Open

Better error exeption for editable column wrong value#229
Olicek wants to merge 1 commit intoo5:masterfrom
Olicek:patch-1

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