Updated Branches: refs/heads/develop 3947a3a87 -> 04632b3b4
FLEX-33724 Stop RTE when setting locked columns to zero and horizontal scroll policy to off Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/04632b3b Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/04632b3b Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/04632b3b Branch: refs/heads/develop Commit: 04632b3b4d15a3f5757471077a642661d3de7b42 Parents: 3947a3a Author: Justin Mclean <jmcl...@apache.org> Authored: Tue Sep 17 23:56:46 2013 +1000 Committer: Justin Mclean <jmcl...@apache.org> Committed: Tue Sep 17 23:56:46 2013 +1000 ---------------------------------------------------------------------- .../projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04632b3b/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as b/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as index b944685..aa93368 100644 --- a/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as +++ b/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as @@ -2285,6 +2285,7 @@ public class DataGridBase extends ListBase implements IFontContextComponent } if (lockedColumnContent) { + lastRowIndex = lockedColumnContent.listItems.length - 1; lastRowItems = lockedColumnContent.listItems[lastRowIndex]; numColumns = lastRowItems.length; rowWidth = lockedColumnContent.width;