Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Flex DataGrid pagination

Contributor ,
Aug 27, 2008 Aug 27, 2008
Hi. Will some future version of the Flex DataGrid/AdvancedDataGrid have pagination built-in? Thanks.
TOPICS
Developers
20.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2008 Aug 27, 2008
<div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>What do you mean by built-in?<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alex Cougarman<br />[mailto:member@adobeforums.com] <br><br /><b>Sent:</b> Wednesday, August 27, 2008 5:50 AM<br><br /><b>To:</b> flexsdk-dev@adobeforums.com<br><br /><b>Subject:</b> Flex DataGrid pagination<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new discussion was started by<br />Alex Cougarman in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex DataGrid pagination<br><br /><br><br />Hi. Will some future version of the Flex DataGrid/AdvancedDataGrid have<br />pagination built-in? Thanks. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b64911">Flex DataGrid pagination</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b64911!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 27, 2008 Aug 27, 2008
Hi. By simply setting some properties on the DataGrid, we can activate the pagination. As is (at least in Flex 3), we have to use something like what's described in this article to get pagination for a datagrid: http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html<br /><br />To have pagination on a DataGrid, it would be great if we could set some properties as in the following,<br /><br /><mx:DataGrid <br /> enablePaging="true"<br /> pageSize="20"<br /> pagerLocation="bottomRight"<br /> pagerType="NumericPrevNext"<br /> pageTransition="Fade" ....><br /></mx:DataGrid><br /><br />The above properties would produce a datagrid with the pager controls in the bottom right of the grid; the type property would set it to show buttons/numbers like this,<br /><br />[Prev] 1 2 3 4 5 ... [Next]<br /><br />I was surprised that we have to write our own paging component for Flex datagrids; there should be one that's part of the technology. We'd just call some properties and have it work right out of the box.<br /><br />There could be some built-in pager styles,<br />- Numeric only (showing pages of results returned, "1 2 3 4 5 ...". Each number is a link to that page of records.<br />- Numeric with Previous/Next buttons<br />- "Go To" combo box of all the pages of records. On select, it would jump to that page of results.<br />- Option to display "Displaying page x of xx, items x of xx".<br />- Alphabetic paging<br />- Slider control to enable paging<br /><br />To see an AJAX example of what I mean by datagrid paging, please take a look at the Telerik ASP.NET datagrid's paging options: http://demos.telerik.com/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/Paging/DefaultCS.aspx<br /><br />On the left menu of that same page, you can view examples of other types of datagrid pagers.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2008 Aug 27, 2008
<div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>OK, file an enhancement request.  I wouldn&#8217;t get your hopes up.   Paging<br />gets tricky when you have variableRowHeight or only a portion of the last row<br />is visible.  Do you expect it to page data as well?  Then there&#8217;d be all of the<br />styles and properties related to the paging control, so I&#8217;d be cautious about<br />baking one in.  Seems like a better third-party control.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alex Cougarman<br />[mailto:member@adobeforums.com] <br><br /><b>Sent:</b> Wednesday, August 27, 2008 10:13 AM<br><br /><b>To:</b> flexsdk-dev@adobeforums.com<br><br /><b>Subject:</b> Re: Flex DataGrid pagination<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Alex Cougarman in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex DataGrid pagination<br><br /><br><br />Hi. By simply setting some properties on the DataGrid, we can activate the<br />pagination. As is (at least in Flex 3), we have to use something like what's<br />described in this article to get pagination for a datagrid: <a<br />href="http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html">http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html</a><br /><br><br /><br><br />To have pagination on a DataGrid, it would be great if we could set some<br />properties as in the following, <br><br /><br><br />&lt;mx:DataGrid enablePaging=&quot;true&quot; pageSize=&quot;20&quot;<br />pagerLocation=&quot;bottomRight&quot; pagerType=&quot;NumericNextPrev&quot;<br />pageTransition=&quot;Fade&quot; ....&gt; <br><br />&lt;/mx:DataGrid&gt; <br><br /><br><br />The above properties would produce a datagrid with the pager controls in the<br />bottom right of the grid; the type property would set it to show<br />buttons/numbers like this, <br><br /><br><br />[Prev] 1 2 3 4 5 ... [Next] <br><br /><br><br />I was surprised that we have to write our own paging component for Flex<br />datagrids; there should be one that's part of the technology. We'd just call<br />some properties and have it work right out of the box. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b64911/1">Flex DataGrid pagination</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b64911!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 27, 2008 Aug 27, 2008
Thanks. Yes, the paging of data would be important. If you know of 3rd party components that do this, please let me know.

Also, should I post the enhancement request here? http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Thanks again.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2008 Aug 27, 2008
<div class=Section1><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>You can file Flex bugs and enhancement<br />requests at: <a href="http://bugs.adobe.com/flex/">http://bugs.adobe.com/flex/</a><o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>Peter<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal align=center style='text-align:center'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'><br /><br /><hr size=2 width="100%" align=center tabindex=-1><br /><br /></span></font></div><br /><br /><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;<br />font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2<br />face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Alex Cougarman<br />[mailto:member@adobeforums.com] <br><br /><b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 27, 2008<br />2:11 PM<br><br /><b><span style='font-weight:bold'>To:</span></b> flexsdk-dev@adobeforums.com<br><br /><b><span style='font-weight:bold'>Subject:</span></b> Re: Flex DataGrid<br />pagination</span></font><o:p></o:p></p><br /><br /></div><br /><br /><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:<br />12.0pt'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>A new message was posted<br />by Alex Cougarman in <br><br /><br><br /><b><span style='font-weight:bold'>Developers</span></b> --<br><br />  Flex DataGrid pagination<br><br /><br><br />Thanks. Yes, the paging of data would be important. If you know of 3rd party<br />components that do this, please let me know. <br><br /><br><br />Also, should I post the enhancement request here? <a<br />href="http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform">http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform</a><br /><br><br /><br><br />Thanks again. <o:p></o:p></span></font></p><br /><br /><div class=MsoNormal><font size=3 face="Times New Roman"><span<br />style='font-size:12.0pt'><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></span></font></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b64911/3">Flex DataGrid pagination</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b64911!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></span></font></p><br /><br /></div>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2008 Aug 27, 2008
<div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>All bugs and enhancements go in at bugs.adobe.com/jira.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>I don&#8217;t know if there are other existing third party solutions.<br />The article you cited might be a place to start.  You can also ask on<br />FlexCoders<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alex Cougarman<br />[mailto:member@adobeforums.com] <br><br /><b>Sent:</b> Wednesday, August 27, 2008 2:11 PM<br><br /><b>To:</b> flexsdk-dev@adobeforums.com<br><br /><b>Subject:</b> Re: Flex DataGrid pagination<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Alex Cougarman in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex DataGrid pagination<br><br /><br><br />Thanks. Yes, the paging of data would be important. If you know of 3rd party<br />components that do this, please let me know. <br><br /><br><br />Also, should I post the enhancement request here? <a<br />href="http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform">http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform</a><br /><br><br /><br><br />Thanks again. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b64911/3">Flex DataGrid pagination</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b64911!folder=.3c060fa3">unsubscribe</a><br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2008 Aug 27, 2008
I think it would be far more valuable to add a new mx.controls.Paginator
to the SDK then baking it specifically into any given component. I know
I've run into needing one of these before, but I'm not sure everyone has
the same idea for how the view should operate on one of these.

Alex Harui wrote:
> A new message was posted by Alex Harui in
>
> *Developers* --
> Flex DataGrid pagination
>
> All bugs and enhancements go in at bugs.adobe.com/jira.
>
>
>
> I dont know if there are other existing third party solutions. The
> article you cited might be a place to start. You can also ask on
> FlexCoders
>
>
>
> *From:* Alex Cougarman [mailto:member@adobeforums.com]
> *Sent:* Wednesday, August 27, 2008 2:11 PM
> *To:* flexsdk-dev@adobeforums.com
> *Subject:* Re: Flex DataGrid pagination
>
>
>
> A new message was posted by Alex Cougarman in
>
> *Developers* --
> Flex DataGrid pagination
>
> Thanks. Yes, the paging of data would be important. If you know of 3rd
> party components that do this, please let me know.
>
> Also, should I post the enhancement request here?
> http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
>
> Thanks again.
>
> ------------------------------------------------------------------------
>
> View/reply at Flex DataGrid pagination
>
> Replies by email are OK.
> Use the unsubscribe
>

> form to cancel your email subscription.
>
>
>
> -------------------------------------------------...


> Replies by email are OK.
> Use the unsubscribe
>

> form to cancel your email subscription.
>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 28, 2008 Aug 28, 2008
Thanks, everyone. I posted a feature request here: https://bugs.adobe.com/jira/browse/FLEXDMV-1860
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 07, 2009 Feb 07, 2009
Alex,

You could utilize the ICollectionView for data providers and implement paging at the collection. This way, you utilize scrolling in the DataGrid for page navigation. That is what I have done. However, please see patches SDK-16847, SDK-16895, and issue SDK-16846 (rare, but happens).

Brian
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 27, 2010 Jan 27, 2010

Please feel free to check out http://www.flexicious.com. This is an extension to the Flex DataGrid/Advanced DataGrid components that provide pagination, filter, footer, Select All, support out of the box, in addition to a host of other features.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 26, 2010 May 26, 2010
LATEST

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines