@@ -1276,6 +1276,33 @@ public void ShowLineNo_Ok(TableRenderMode mode)
12761276 cut . Contains ( "Test_LineNo" ) ;
12771277 }
12781278
1279+ [ Fact ]
1280+ public void FixedMultipleColumn_Ok ( )
1281+ {
1282+ var localizer = Context . Services . GetRequiredService < IStringLocalizer < Foo > > ( ) ;
1283+ var cut = Context . RenderComponent < BootstrapBlazorRoot > ( pb =>
1284+ {
1285+ pb . AddChildContent < Table < Foo > > ( pb =>
1286+ {
1287+ pb . Add ( a => a . RenderMode , TableRenderMode . Table ) ;
1288+ pb . Add ( a => a . IsMultipleSelect , true ) ;
1289+ pb . Add ( a => a . ShowExtendButtons , true ) ;
1290+ pb . Add ( a => a . FixedExtendButtonsColumn , true ) ;
1291+ pb . Add ( a => a . IsExtendButtonsInRowHeader , true ) ;
1292+ pb . Add ( a => a . FixedMultipleColumn , true ) ;
1293+ pb . Add ( a => a . Items , Foo . GenerateFoo ( localizer , 2 ) ) ;
1294+ pb . Add ( a => a . TableColumns , foo => builder =>
1295+ {
1296+ builder . OpenComponent < TableColumn < Foo , string > > ( 0 ) ;
1297+ builder . AddAttribute ( 1 , "Field" , "Name" ) ;
1298+ builder . AddAttribute ( 2 , "FieldExpression" , Utility . GenerateValueExpression ( foo , "Name" , typeof ( string ) ) ) ;
1299+ builder . CloseComponent ( ) ;
1300+ } ) ;
1301+ } ) ;
1302+ } ) ;
1303+ Assert . Contains ( "left: 36px;" , cut . Markup ) ;
1304+ }
1305+
12791306 [ Theory ]
12801307 [ InlineData ( true ) ]
12811308 [ InlineData ( false ) ]
0 commit comments