File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 72
72
$ ( this ) . css ( "cursor" , "" ) ;
73
73
74
74
} ) ;
75
+ this . $element . find ( "tbody tr" ) . each ( function ( ) {
76
+ $ ( this ) . data ( "griddly-url" , $ ( this ) . data ( "griddly-url-inactive" ) ) ;
77
+ $ ( this ) . data ( "griddly-url-inactive" , "" ) ;
78
+ } ) ;
79
+
75
80
for ( var i = 0 ; i < this . options . editors . length ; i ++ ) {
76
81
$ ( this . options . editors [ i ] ) . hide ( ) ;
77
82
$ ( this . options . editors [ i ] ) . popover ( "hide" ) ;
301
306
else
302
307
$ ( this ) . css ( "cursor" , "default" ) ;
303
308
} ) ;
309
+ this . $element . find ( "tbody tr" ) . each ( function ( ) {
310
+ $ ( this ) . data ( "griddly-url-inactive" , $ ( this ) . data ( "griddly-url" ) ) ;
311
+ $ ( this ) . data ( "griddly-url" , "" ) ;
312
+ } ) ;
304
313
305
314
$ ( this . $element ) . on ( "click.editly keypress.editly dblclick.editly" , $ . proxy ( function ( e ) {
306
315
if ( doValidation ( ) ) {
Original file line number Diff line number Diff line change 5
5
@Html.Griddly(new GriddlySettings<SimpleOrder >()
6
6
{
7
7
ClassName = " editly-grid" ,
8
+ RowClickUrl = @< text > asdfasdf < / text >
8
9
}
9
10
.Column(x => x.Item,
10
11
filter: x => x.FilterBox(FilterDataType.String), summaryValue: "Total")
You can’t perform that action at this time.
0 commit comments