ExtJs : Grid scrolling issue while saving or refreshing the grid

 I was able to fix this issue by simply adding the below code near refresh and save methods.

Do this before you 'refresh or save' a record:

var scrollPos = grid.getEl().down('.x-grid-view').getScroll();

//And then after the record is saved or refreshed add this line

grid.getEl().down('.x-grid-view').scrollTo('top', scrollPos.top, false);

(Solved) Reset Chrome download manager to default

Free download click catcher plugin. How to disable it in Chrome

I Installed Free download Manager sometime back and uninstalled it, but Google Chrome is still taking that extension and directing it to Free Download Manager. How to disable it.

1. Open Chrome
2. In Address Bar type chrome://plugins/
3. Disable Free Download Manager Click Catcher Plug-In for Netscape, Opera, Mozilla


How to change a Color Picture to Black and white picture using Photoshop

Open Photoshop
Open the picture from Photoshop
Goto menu Image --> Mode --> Grayscale

If you have multiple layers it will ask you to Flatten. Select flatten to merge all layers or else select Don't flatten

Save the Image and close Photoshop.

Java Spring Hibernate : How to make MySql group_concat, concat_ws work in Hibernate

I have an application where I am using spring Hibernate and my applicationContext.xml files looks like below. I want to use group_concat and concat_ws in Hibernate queries.

 <bean id="sessionFactory"
  <property name="dataSource" ref="dataSource" />
  <property name="configLocation">
  <property name="configurationClass">

  <property name="hibernateProperties">
    <prop key="hibernate.dialect">${jdbc.dialect}</prop>
    <prop key="hibernate.show_sql">true</prop>



Add a new java file somewhere in your solution. For example I am adding in the below package
Class Name : CustomDialect

package com.myApp.util;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.function.StandardSQLFunction;
import org.hibernate.type.StringType;
public CustomDialect(){
   registerFunction("group_concat", new StandardSQLFunction("group_concat", StringType.INSTANCE));
    registerFunction("concat_ws", new StandardSQLFunction("concat_ws", StringType.INSTANCE));


Update applicationConctext.xml like below

<prop key="hibernate.dialect">com.myApp.util.CustomDialect</prop>
<prop key="hibernate.show_sql">true</prop>

Lenovo Service Centers Hyderabad

Lenovo Tablets Service Center Hyderabad

Classic Emarald Apts
Phone : 8832443314

Flat No 36
Divya Shakthi Apts
Opp. Lal Bungalow
Phone : 8886675564