thanks martin... i will try it and come back to you....
On Mon, Apr 8, 2013 at 5:59 PM, Martin Grigorov <[email protected]>wrote: > Check http://stackoverflow.com/questions/6677035/jquery-scroll-to-element > You will need to use some sort of selector to find the table. If it doesn't > have id then by class for example. > > > On Mon, Apr 8, 2013 at 12:51 PM, Vignesh Palanisamy > <[email protected]>wrote: > > > thanks martin, > > > > i try it already, my problem is, i had two dataTable in a same page. > while > > i paginate focus move to the top of the page, i want top of the table. i > > had tried target.focusComponent(to the topToolBar) but its outputMarkId > was > > not true. is there any way to focus to the top of the table. > > > > > > thanks in advance > > Vignesh Palanisamy > > > > > > On Mon, Apr 8, 2013 at 3:33 PM, Martin Grigorov <[email protected] > > >wrote: > > > > > Hi, > > > > > > Try with : target.appendJavaScript("window.scrollTo(0, 0);") > > > > > > > > > > > > On Mon, Apr 8, 2013 at 5:20 AM, Vignesh Palanisamy < > > [email protected] > > > >wrote: > > > > > > > hi, > > > > > > > > I had create a CustomAjaxFallbackDefaultDataTable to add the > > > > AjaxNavigationToolbar in bottomToolBar. > > > > > > > > my DataTable content is so big. while i come down and navigate > > to > > > > next page the focus was in the end of the table itself, i want it to > > set > > > > focus on the top of the table. how can i set it. > > > > > > > > please trow some suggestion for it. > > > > > > > > > > > > thanks in advance > > > > Vignesh Palanisamy > > > > > > > > > > > > > > > > -- > > > Martin Grigorov > > > jWeekend > > > Training, Consulting, Development > > > http://jWeekend.com <http://jweekend.com/> > > > > > > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> >
