[jira] Created: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cellsA sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
------------------------------------------------------------------------------------------------
Key: BEEHIVE-414
URL: http://issues.apache.org/jira/browse/BEEHIVE-414
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Beta
Reporter: Nathan Jantz
Assigned to: Eddie O'Neil
Priority: Minor
Fix For: V1Beta
When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
Rendered HTML Expected results:
<td class="datagrid-sorted">...</td>
Rendered HTML Actual results:
<td class="datagrid">...</td>
Note that <th> tags are rendering style class attirbutes as expected such as:
<th class="datagrid-sortable">
<th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cells
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-414?page=history ]
Eddie O'Neil updated BEEHIVE-414:
---------------------------------
Fix Version: V1
(was: V1Beta)
This should work; Nathan, can you attach a repro?
Thanks.
> A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-414
> URL: http://issues.apache.org/jira/browse/BEEHIVE-414
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Nathan Jantz
> Assignee: Eddie O'Neil
> Priority: Minor
> Fix For: V1
>
> When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
> Rendered HTML Expected results:
> <td class="datagrid-sorted">...</td>
> Rendered HTML Actual results:
> <td class="datagrid">...</td>
> Note that <th> tags are rendering style class attirbutes as expected such as:
> <th class="datagrid-sortable">
> <th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cells
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-414?page=history ]
Eddie O'Neil reassigned BEEHIVE-414:
------------------------------------
Assign To: Nathan Jantz (was: Eddie O'Neil)
> A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-414
> URL: http://issues.apache.org/jira/browse/BEEHIVE-414
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Nathan Jantz
> Assignee: Nathan Jantz
> Priority: Minor
> Fix For: V1
> Attachments: css_repro.zip
>
> When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
> Rendered HTML Expected results:
> <td class="datagrid-sorted">...</td>
> Rendered HTML Actual results:
> <td class="datagrid">...</td>
> Note that <th> tags are rendering style class attirbutes as expected such as:
> <th class="datagrid-sortable">
> <th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cells
Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-414?page=history ]
Nathan Jantz closed BEEHIVE-414:
--------------------------------
User error. Adding sortExpression attributes to the individual <td> cells resolved this.
> A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-414
> URL: http://issues.apache.org/jira/browse/BEEHIVE-414
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Nathan Jantz
> Assignee: Nathan Jantz
> Priority: Minor
> Fix For: V1
> Attachments: css_repro.zip
>
> When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
> Rendered HTML Expected results:
> <td class="datagrid-sorted">...</td>
> Rendered HTML Actual results:
> <td class="datagrid">...</td>
> Note that <th> tags are rendering style class attirbutes as expected such as:
> <th class="datagrid-sortable">
> <th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cells
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-414?page=history ]
Eddie O'Neil resolved BEEHIVE-414:
----------------------------------
Resolution: Invalid
When you need to have the "datagrid-sorted" CSS names rendered in your page, the cell tags need to have the sortExpression attribute set in order to be able to do a lookup to see if the given expression is sorted. Without a sortExpression, the grid isn't able to determine if a cell is sorted or not and the style is ignored.
You can look at the DataGridSimpleSort BVT to see how this works.
> A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-414
> URL: http://issues.apache.org/jira/browse/BEEHIVE-414
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Nathan Jantz
> Assignee: Eddie O'Neil
> Priority: Minor
> Fix For: V1
> Attachments: css_repro.zip
>
> When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
> Rendered HTML Expected results:
> <td class="datagrid-sorted">...</td>
> Rendered HTML Actual results:
> <td class="datagrid">...</td>
> Note that <th> tags are rendering style class attirbutes as expected such as:
> <th class="datagrid-sortable">
> <th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (BEEHIVE-414) A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for cells
Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-414?page=comments#action_60312 ]
Nathan Jantz commented on BEEHIVE-414:
--------------------------------------
The repro I just attached is the actual test case I'm running for this but it has a database dependency, but I will attach a repro tomorrow that can run stand-alone to make things easier for you.
> A sorted column in a datagrid is not rendering 'datagrid-sorted' style attributes for <td> cells
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-414
> URL: http://issues.apache.org/jira/browse/BEEHIVE-414
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Nathan Jantz
> Assignee: Eddie O'Neil
> Priority: Minor
> Fix For: V1
> Attachments: css_repro.zip
>
> When sorting a column in a datagrid, <td> table cells in that sorted column do not get a rendered style class attribute to identify that cell has been sorted. This would be convenient for cases where you want to highlight a sorted column via CSS.
> Rendered HTML Expected results:
> <td class="datagrid-sorted">...</td>
> Rendered HTML Actual results:
> <td class="datagrid">...</td>
> Note that <th> tags are rendering style class attirbutes as expected such as:
> <th class="datagrid-sortable">
> <th class="datagrid-sorted">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
| | | | | |