projects
/
zakgrid_go
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2618e
)
Call ToCall method also when the method is not nil.
master
author
Andrea Zagli
<azagli@libero.it>
Wed, 22 Jun 2022 13:49:06 +0000
(15:49 +0200)
committer
Andrea Zagli
<azagli@libero.it>
Wed, 22 Jun 2022 13:49:06 +0000
(15:49 +0200)
grid/grid.go
patch
|
blob
|
history
diff --git
a/grid/grid.go
b/grid/grid.go
index f01a7c97cc56dcfe91b763a9da63f957d989fa73..87fa00dc3ccdfdce53cd0a246fb3f59e79e5f35b 100644
(file)
--- a/
grid/grid.go
+++ b/
grid/grid.go
@@
-120,7
+120,7
@@
func (g *Grid) GetRowFromMap (m map[string]interface{}) string {
for _, c := range g.cols {
v, ok := m[c.Name]
- if !ok {
+ if !ok
|| c.ToCall != nil
{
if c.ToCall != nil {
v = c.ToCall(m)
}