This forum is for programmers who have questions about the source code.
-
dcrider
- Posts: 67
- Joined: Sun Sep 29, 2019 11:03 am
-
Contact:
Post
by dcrider » Tue Dec 17, 2019 12:23 pm
We are currently in the process of migrating our existing plugins to v19.3 in anticipation of us upgrading to that version once we've tested everything. One plugin references
(gridPayPlan being an object of type ODGrid) and Visual Studio provides this error message:
Code: Select all
'ODGrid' does not contain a definition for 'Rows' and no accessible extension method 'Rows' accepting a first argument of type 'ODGrid' could be found (are you missing a using directive or an assembly reference?)
Am I to be using
ListGridRows and call the Count method on that returned list? Was
ODGrid.Rows replaced with
ODGrid.ListGridRows?
-
cmcgehee
- Posts: 711
- Joined: Tue Aug 25, 2015 5:06 pm
- Location: Salem, Oregon
Post
by cmcgehee » Tue Dec 17, 2019 12:39 pm
Yes, you can replace all your references to ODGrid.Rows with ODGrid.ListGridRows.
-
dcrider
- Posts: 67
- Joined: Sun Sep 29, 2019 11:03 am
-
Contact:
Post
by dcrider » Tue Dec 17, 2019 12:45 pm
Thank you for the quick reply!