Skip to content
Snippets Groups Projects
Commit 760211d2 authored by juanf's avatar juanf
Browse files

SSDM-3390 : Better feedback for selectable grid.

SVN: 36189
parent 1545eda6
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
background-color: #F5F5F5; background-color: #F5F5F5;
} }
.fuelux-selectable .repeater-list-wrapper tr:hover {
background-color: #FBFBFB;
cursor: pointer;
}
/* /*
* Bugfix: Fuelux don't refresh last column correctly so we add a dummy one and hide, check also javascript part * Bugfix: Fuelux don't refresh last column correctly so we add a dummy one and hide, check also javascript part
*/ */
......
...@@ -20,6 +20,11 @@ $.extend(Grid.prototype, { ...@@ -20,6 +20,11 @@ $.extend(Grid.prototype, {
thisGrid.panel.html(template); thisGrid.panel.html(template);
thisGrid.renderColumnDropdown(); thisGrid.renderColumnDropdown();
thisGrid.renderDropDownOptions(); thisGrid.renderDropDownOptions();
if(thisGrid.rowClickListeners.length > 0) {
thisGrid.panel.addClass("fuelux-selectable");
}
thisGrid.panel.repeater({ thisGrid.panel.repeater({
defaultView : "list", defaultView : "list",
dataSource : function(options, callback) { dataSource : function(options, callback) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment