-
12 Jun 2012 5:36 AM #161
I want alternate ROWs differentiation ..
i put
but this gets apply to x-grid-cell also and make grid look like alternate column. (as in pic)Code:.touchgridpanel .x-dataview-item :nth-child(odd){ background-color: #ffffff ; }
my requirement is alternate rows..
-
12 Jun 2012 6:23 AM #162Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
Instead of x-dataview-item use it's parent.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
12 Jun 2012 6:28 AM #163
it makes sense
but no effect on end result..
.touchgridpanel .x-dataview-container :nth-child(odd){
background-color: #ffffff ;
}
-
12 Jun 2012 6:36 AM #164Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
You were right the first time (think you had a space),
I also pushed an update to my github repo. If you open the index.html example you will see alt row. If you open the editable.html example you will see alt columnCode:.touchgridpanel .x-dataview-item:nth-child(odd) { background-color: #fff; }Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
12 Jun 2012 6:51 AM #165
oops, silly mistake from my side..
thanks for correcting and taking time out.
-
12 Jun 2012 6:58 AM #166Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Jun 2012 1:45 PM #167
-
16 Jun 2012 3:04 PM #168
Search function
Search function
Hello,
A great stuff and job well done.
Is there a search function?
using remote store and I want to able to search or filter rows before pushing to grid.
Thanks again.
-
18 Jun 2012 4:10 AM #169
-
18 Jun 2012 7:43 AM #170
Thanks Annio.
I should've studied further before posting.


Reply With Quote
